{"schemaVersion":1,"id":"ncc","name":"ncc","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/ncc/","officialUrl":"https://github.com/vercel/ncc","isCatalog":false,"description":"Compiles a Node.js project and dependencies into compact deployment output: useful for CLIs, GitHub Actions, and server utilities.","tasks":["Prepare compact deployment output for a Node.js utility","Build it with dependencies and test the generated output's execution"],"categoryIds":["infrastructure","quality"],"subcategoryIds":["infrastructure.developer","quality.review"],"tags":["ncc","build","Development"],"aliases":["vercel/ncc","vercel-ncc","ncc"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Prepare compact deployment output for a Node.js utility","chooseWhen":["Prepare compact deployment output for a Node.js utility","Build it with dependencies and test the generated output's execution"],"considerInstead":[],"requirements":["Node.js input/output; TypeScript requires tsconfig.json."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Dynamically loaded files that cannot be identified statically may transfer incorrectly into output. ncc is not intended to bundle browser applications."],"faq":[{"question":"What can you use for free in ncc?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with ncc?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for ncc?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with ncc?","answer":"Choose an entrypoint for the CLI, GitHub Action, or server utility. Build it with dependencies and test the generated output's execution. Add the workflow to scripts or CI with a clear report."},{"question":"When is ncc suitable for serverless, and which files may need separate processing?","answer":"ncc bundles a Node.js module and dependencies into compact output with TypeScript, ESM/CJS, source maps, and external module support. TypeScript builds require tsconfig.json. --asset-builds recursively builds nested JS assets; --license generates a separate license information file."}],"related":[],"sources":["https://github.com/vercel/ncc","https://raw.githubusercontent.com/vercel/ncc/HEAD/readme.md","https://raw.githubusercontent.com/vercel/ncc/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/vercel/ncc/main/readme.md"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Prepare compact deployment output for a Node.js utility.","inputs":["A repository, package manifests, and configuration.","A compatible runtime and the target build command."],"steps":["Choose an entrypoint for the CLI, GitHub Action, or server utility.","Build it with dependencies and test the generated output's execution.","Add the workflow to scripts or CI with a clear report."],"checks":["A clean copy of the project reproduces the result.","Errors produce a nonzero exit code and clear diagnostics."]},"sources":["https://github.com/vercel/ncc","https://raw.githubusercontent.com/vercel/ncc/HEAD/readme.md","https://raw.githubusercontent.com/vercel/ncc/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/vercel/ncc/main/readme.md"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Build / code quality tool","kind":"tool","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/vercel/ncc","label":"Official source"},{"url":"https://raw.githubusercontent.com/vercel/ncc/HEAD/readme.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/vercel/ncc/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/vercel/ncc/main/readme.md","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}