vercel/ncc
View on GitHub ↗ ★ 9,840 JavaScript
Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
9 mentions on Hacker News by 8 people: 0 stories, 9 comments · first 2018-11-26 · latest 2024-06-07
20082026
-
For JS I use https://github.com/vercel/ncc
comment by metatranca · 2024-06-07 · in Ask HN: How are you deploying your lambdas these days? -
You could use ncc to compile a binary: https://github.com/vercel/ncc
comment by goodoldneon · 2022-10-06 · in So you're using a weird language -
https://github.com/vercel/ncc
comment by fragile_frogs · 2022-07-02 · in Reimagining front-end web development with htmx and hyperscript -
…also collapses all contained dependencies license files into a single licenses.txt file too! - [1] https://github.com/vercel/ncc
comment by davemo · 2021-11-04 · in Ask HN: How do you security-audit external software using NPM packages? -
> where you can't require any `npm` packages You just have to introduce a build tool like ncc ( https://github.com/vercel/ncc ) which will bundle your app into a single JS file.
comment by fragile_frogs · 2021-03-26 · in Vercel Serverless Functions vs. Cloudflare Workers -
You need `ncc run` to run the generated file. https://github.com/vercel/ncc#commands
comment by tardismechanic · 2020-12-09 · in Deno 1.6 supports compiling TypeScript to a single executable -
NCC is a good tool for this too https://github.com/zeit/ncc
comment by cmmartin · 2019-02-22 · in Play.js: The Node.js and React Native IDE for iPhone and iPad -
Not to be confused with https://github.com/zeit/ncc
comment by akmittal · 2018-12-28 · in NCC: 64-bit C compiler (and preprocessor, assembler, linker, etc.) for AMD64 -
…precisely to not just bundle, but incorporate important optimizations like the V8 Compile Cache ( https://github.com/zeit/ncc/issues/51 ), which is what inspired the project and name to begin with.
comment by Rauchg · 2018-11-26 · in Ncc: Node.js Compiler Collection