Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2018 (2)
20082026
  1. For JS I use https://github.com/vercel/ncc
  2. 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
  3. https://github.com/vercel/ncc
  4. …also collapses all contained dependencies license files into a single licenses.txt file too! - [1] https://github.com/vercel/ncc
  5. > 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
  6. You need `ncc run` to run the generated file. https://github.com/vercel/ncc#commands
  7. NCC is a good tool for this too https://github.com/zeit/ncc
  8. Not to be confused with https://github.com/zeit/ncc
  9. …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