@creativecommons/fonts

中文文档
2020.11.3发布于 2020/11/21MIT零依赖近 30 天下载 2362

Typefaces that lend personality to the web facing Creative Commons

原始使用文档
文档目录6 节
  1. Included Packages
  2. Installation
  3. Using
  4. Contributing
  5. Versioning
  6. License

Vocabulary logo

Vocabulary is a cohesive design system to unite the web facing Creative Commons.

MIT license PRs welcome GitHub Actions Netlify

Vocabulary is the code implementation of Creative Commons' Design Language. Vocabulary makes it easier to develop Creative Commons apps while ensuring a consistently familiar experience.

Included Packages

vocabulary is a monorepo containing three packages:

PackageDescription
@creativecommons/vocabularyThe main CSS component libraryinstall size
@creativecommons/fontsA collection of typefaces and icon fontsinstall size
@creativecommons/vue-vocabularyVue component library powered by the main CSS libraryinstall size

Packages are located in the /packages directory.

Installation

You would need to have Node.js and npm installed.

To install dependencies and run the storybooks for all packages in this repository:

npm install --legacy-peer-deps
npm run setup # (optional for npm v7 & above)
npm run build
npm run storybook

To run the storybook for an individual package (here, fonts):

cd packages/fonts
npm install --legacy-peer-deps
npm run build
npm run storybook

Using

To use Vocabulary in your projects, refer to this document.

Contributing

To contribute to Vocabulary, refer to this document.

Versioning

Vocabulary uses CalVer for version numbering, in the YYYY.M.Micro format. Micro is bumped whenever there are multiple releases in a month, for example 2020.7.1 is the first release in July 2020, while 2020.7.2 is the second.

License

Licensed under the Expat/MIT license.

版本与发布记录

@creativecommons/fonts 共发布 19 个版本,首次发布于 2020/03/17;过去 12 个月发布了 0 个版本。

版本发布日期距今
2020.11.3latest2020/11/215 年前
2020.11.22020/11/195 年前
2020.11.12020/11/056 年前
2020.10.12020/10/296 年前
2020.9.42020/10/076 年前
2020.9.32020/10/016 年前

关于 @creativecommons/fonts 的常见问题

@creativecommons/fonts 是什么?

Typefaces that lend personality to the web facing Creative Commons

如何安装 @creativecommons/fonts?

在项目目录运行 npm install @creativecommons/fonts,或使用 pnpm add / yarn add / bun add。

@creativecommons/fonts 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/creativecommons__fonts 是否存在。

@creativecommons/fonts 可以商用吗?

@creativecommons/fonts 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@creativecommons/fonts 的下载量有多少?

根据 npm 官方下载统计,@creativecommons/fonts 在 2026/10/11 – 2026/11/09 这 30 天内被下载 2,362 次,日均约 79 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@creativecommons/fonts 还在维护吗?

最新版本 2020.11.3 发布于 2020/11/21(5 年前);至今共发布 19 个版本,其中过去 12 个月发布了 0 个;首次发布于 2020/03/17。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。