ncc
ncc: A focused, free option for compiling Node.js projects into single distributable files. Ranked #17 of 27 in JavaScript Build Tools by our editors (7.4/10); pricing: Free plan; best for single-file Node.js outputs.
At a glance
- Editor score7.4 / 10
- PricingFree plan
- Best forSingle-file Node.js outputs
- Free planYes
- Paid fromFree
- TypeScript supportYes
- Facts checked20 Sep 2026

Where it wins
- Compiles Node.js modules and dependencies into one file
- Supports TypeScript, CommonJS, ESM, source maps, and minification
- Includes watch mode, asset handling, APIs, and local caching
Where it doesn't
- Its focus on single-file output may not suit code-splitting workflows
- External modules can remain as require calls
- Designed for Node.js packaging rather than general-purpose bundling
Our verdict on ncc
ncc is an open-source command-line tool from Vercel that compiles a Node.js module and its dependencies into a single distributable file. It is aimed at developers publishing npm packages, packaging serverless applications, or deploying Node.js programs without configuring a general-purpose bundler. The tool accepts JavaScript and TypeScript inputs, including .ts and .tsx files, and supports both CommonJS and ES module output. Its zero-configuration positioning makes it a focused choice when the delivery format is a compact Node.js file rather than a broader application bundle.
The published capabilities cover the main steps in a Node.js packaging workflow. ncc can generate source maps, minify build output, and build nested JavaScript assets recursively. It also supports external modules that remain as require calls, which can help preserve selected runtime dependencies instead of placing everything inside the output. Watch mode supports repeated rebuilds during development, while the programmatic Node.js API provides an alternative to invoking the command-line interface. Local build-cache commands and configurable caching add control over repeated local builds.
ncc is most suitable when a project needs one deployable Node.js file with TypeScript support and a small configuration surface. Its free, open-source model also suits teams that want to inspect or integrate a build tool without a paid tier. Choose it for npm packages, serverless applications, or Node.js deployments centered on single-file distribution. Consider another tool when the project depends on broader bundling patterns, especially workflows organized around multiple output chunks or browser-first packaging. The practical decision is therefore driven less by feature breadth than by whether single-file Node.js compilation is the primary requirement.
Your product? Our editors can test ncc in depth and publish a review, labelled as paid · from $149/mo →
ncc pricing
ncc fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| TypeScript support | Yes |
| Code splitting | Not verified |
| Tree shaking | Not verified |
| Source maps | Yes |
| Plugin API | Not verified |
| Remote build cache | Not verified |
| Deployment | Self-hosted |
| Support | Docs |
| Built for | Solo, Small business (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
Alternatives to ncc
- ViteA free, open-source choice for fast development and optimized production builds.9.4
- webpackA free, open-source choice for complex builds that need detailed bundling control.9.3
- esbuildA free, open-source build tool for fast JavaScript and TypeScript workflows.9.2
Used ncc? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used ncc for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
ncc is listed in our JavaScript Build Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/ncc/"><img src="https://www.itechguides.com/best/badge/ncc.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


