macOS
brew install ncclocal Homebrew formula metadata
安装
brew install ncclocal Homebrew formula metadata
概览
Compile a Node.js project into a single file
历史
ncc is Vercel's zero-config Node.js bundler CLI for compiling a Node module and its dependencies into a single output file, with TypeScript support, asset handling, source maps, minification, externals, cache commands, and programmatic API support.
The repository was created on 2018-11-13, with early package distribution under @zeit/ncc on npm the same day. After Zeit became Vercel, @vercel/ncc was created on npm on 2020-08-12 while the old @zeit/ncc package remained visible for legacy users.
The README describes the motivation plainly: publish minimal npm packages, ship only relevant app code to serverless environments, avoid configuring bundlers, reduce boot-time and I/O overhead, and get a compiled-language-like experience for Node programs.
GitHub API data retrieved on 2026-07-01 showed 9,817 stars and 316 forks. The npm downloads API reported 3,712,545 downloads for @vercel/ncc and 56,253 downloads for legacy @zeit/ncc during 2026-05-30 through 2026-06-28.
GitHub's own documentation for creating JavaScript actions names @vercel/ncc alongside Rollup as a way to combine action code and dependencies into one file for distribution, which helped make ncc a common packaging tool in the GitHub Actions ecosystem.
The standard workflow is ncc build input.js -o dist, producing a compact dist/index.js. Users add flags for minification, source maps, externals, asset builds, TypeScript transpilation, target level, V8 cache output, or license file generation as needed.
Package nerds especially use ncc for JavaScript GitHub Actions and serverless-ish deployment artifacts: commit or publish a small generated dist file instead of vendoring node_modules, while still keeping dependency resolution close to normal Node.js semantics.
ncc became the boring answer to 'I need one Node file, not a bundler project.' Its constraint is also its appeal: it targets Node programs, not browser apps, so the command stays small and packaging-oriented.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ncc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ncc |
|---|---|
| 版本 | 0.44.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ncc |
| 主页 | https://github.com/vercel/ncc |
| 仓库 | https://github.com/vercel/ncc |
| 上游文档 | https://github.com/vercel/ncc |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/@vercel/ncc/-/ncc-0.44.1.tgz |
| 最后更新 | 2026-07-01T00:51:23Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ncc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.