ncc
Compile a Node.js project into a single file.
Supports TypeScript, binary addons, dynamic requires.
Node.jsのmoduleを単一ファイルにする
v0.x
Motivation
Publish minimal packages to npm
Only ship relevant app code to serverless environments
Don't waste time configuring bundlers
Generally faster bootup time and less I/O overhead
Compiled language-like experience (e.g.: go)
Design goals
Zero configuration
TypeScript built-in
Only supports Node.js programs as input / output
Support all Node.js patterns and npm modules