ncc
« Back to VersTracker
Description:
Compile a Node.js project into a single file
Type: Formula  |  Latest Version: 0.38.4@0  |  Tracked Since: Dec 24, 2025
Links: Homepage  |  GitHub  |  Docs  |  @vercel  |  formulae.brew.sh
Stars: 9,749  |  Forks: 305  |  Language: JavaScript  |  Category: Developer tools
Tags: nodejs bundler javascript deployment serverless vercel
Install: brew install ncc
About:
ncc (Node.js Compiler Collection) is a command-line tool that compiles Node.js applications and their dependencies into a single, standalone JavaScript file. It bundles modules, assets, and native addons, significantly simplifying deployment and distribution. Its main value is reducing complexity and file count for serverless functions, CLI tools, and production deployments.
Key Features:
  • Bundles Node.js projects into a single executable file
  • Handles dynamic requires and asset inlining
  • Drastically reduces deployment artifact size and complexity
  • Supports webpack configuration for advanced customization
  • Integrates seamlessly with Vercel's serverless platform
Use Cases:
  • Preparing code for serverless function deployments (e.g., AWS Lambda, Vercel)
  • Creating distributable command-line tools (CLIs) with all dependencies
  • Simplifying production deployments by reducing the number of files and modules
Alternatives:
  • webpack – More general-purpose bundler with greater configuration complexity, whereas ncc is specifically optimized for Node.js.
  • pkg – Creates a standalone executable binary, while ncc outputs a single JavaScript file requiring a Node runtime.
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 0.38.4 0 VERSION_BUMP 987cc15c
Nov 19, 2024 12:01am 0 VERSION_BUMP 6f3df879