FREEDOM251

Freedom251 › Compare

Side by side

ncc vs Sucrase

Both stand on javascript build tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

ncc

Free plan Linux

ncc provides command-line and programmatic options for bundling Node.js programs, with support for TypeScript and several build controls. Check the TypeScript configuration requirement and static analysis caveat against the packages and assets you plan to bundle.

Visit ncc

Sucrase

Free plan APILinux

Choose Sucrase for development builds targeting modern JavaScript runtimes when its available transforms and integrations fit your project. Look elsewhere if you need type checking, old-browser output, extensible plugins, or a production-build tool better suited to that role.

Visit Sucrase

The facts

nccSucrase
Free planYesYes
Open sourceNot publishedNot published
Runs onLinuxAPI, Linux
Lowest paid planFree or on requestFree or on request
Plans published11
MakerNot publishedNot published
Websitegithub.comsucrase.io
On javascript build tools#13 of 27#17 of 27

ncc: what it does well

  • Compiles modules and dependencies into one file
  • Supports TypeScript, binary addons, and dynamic requires
  • Offers minification, source maps, and watched builds
  • Can be called programmatically from Node.js
  • MIT-licensed and listed as free

What to know first

  • TypeScript inputs require a tsconfig.json file
  • Some dynamically loaded assets may not work correctly
  • Some packages may need extra configuration

Sucrase: what it does well

  • Free, MIT-licensed software.
  • Transforms JSX, TypeScript, and Flow.
  • Offers CLI, Node require hook, ts-node plugin, and JavaScript API.
  • Lists integrations for Webpack, Gulp, Jest, Rollup, and Broccoli.
  • Supports source maps.

What to know first

  • Does not perform TypeScript or Flow type checking.
  • Does not compile for older browsers such as Internet Explorer.
  • Transforms cannot be extended through a plugin API.
  • Babel or tsc may be more suitable for production builds.

Alternatives to ncc Alternatives to Sucrase The whole list