@cfcs/angular

中文文档
0.1.1发布于 2023/03/10MITTypeScriptES Module近 30 天下载 1860

Write once, create framework components that supports React, Vue, Svelte, and more.

原始使用文档
文档目录5 节
  1. Code scaffolding
  2. Build
  3. Publishing
  4. Running unit tests
  5. Further help

Angular

This library was generated with Angular CLI version 14.1.0.

Code scaffolding

Run ng generate component component-name --project angular to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project angular.

Note: Don't forget to add --project angular or else it will be added to the default project in your angular.json file.

Build

Run ng build angular to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build angular, go to the dist folder cd dist/angular and run npm publish.

Running unit tests

Run ng test angular to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

版本与发布记录

@cfcs/angular 共发布 27 个版本,首次发布于 2022/07/22;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.1.1latest2023/03/103 年前
0.1.02023/02/243 年前
0.0.262023/02/233 年前
0.0.252023/02/233 年前
0.0.242023/02/233 年前
0.0.232023/02/233 年前

关于 @cfcs/angular 的常见问题

@cfcs/angular 是什么?

Write once, create framework components that supports React, Vue, Svelte, and more.

如何安装 @cfcs/angular?

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

@cfcs/angular 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cfcs/angular 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@cfcs/angular 可以商用吗?

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

@cfcs/angular 的下载量有多少?

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

@cfcs/angular 还在维护吗?

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