Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. Code Transpilers
  3. Sucrase

Sucrase

What it is

Sucrase is a free, MIT-licensed JavaScript transformation tool for development builds targeting modern runtimes. It transforms JSX, TypeScript, Flow, imports, React hot loader code, and Jest transforms, while also handling optional chaining, nullish coalescing, class fields, numeric separators, and optional catch binding by default. TypeScript and Flow annotations are removed without type checking, so the project recommends a separate typechecker or linter. Developers can install Sucrase through npm or Yarn and use its CLI, Node require hook, ts-node plugin, or JavaScript API. Listed integrations include Webpack, Gulp, Jest, Rollup, and Broccoli. Sucrase provides source maps and TypeScript support. It does not compile for older browsers such as Internet Explorer, and its transforms cannot be extended through a plugin API.

For and against

For

  • Free MIT-licensed project
  • Transforms JSX, TypeScript, and Flow
  • CLI and JavaScript API
  • Source maps available
  • Listed build-tool integrations

Against

  • No type checking
  • Does not target Internet Explorer
  • No plugin API
  • Mostly intended for development

The verdict

Sucrase offers broad syntax transforms and several integration paths without a license cost. Its runtime target and lack of type checking make complementary tooling important.

Who it suits

It suits developers who need quick development transforms for modern JavaScript runtimes. Production builds may be better served by Babel or tsc.

Plans and prices

Sucrase

Free

MIT-licensed open-source project

Every plan, in full

On the record

Integrations
The README lists Webpack, Gulp, Jest, Rollup, and Broccoli integrations, plus a ts-node plugin.github.com · read 9 Oct 2026
JavaScript syntax
It transforms optional chaining, nullish coalescing, class fields, numeric separators, and optional catch binding by default.github.com · read 9 Oct 2026
Language transforms
It transforms JSX, TypeScript, and Flow, and also supports import, React hot loader, and Jest transforms.github.com · read 9 Oct 2026
License
Sucrase is MIT-licensed.github.com · read 9 Oct 2026
Plugins
Sucrase is not pluginizable; its transforms must be explicitly implemented to cooperate with one another.github.com · read 9 Oct 2026
Production use
The project says Sucrase is mostly beneficial in development and that Babel or tsc may be more suitable for production builds.github.com · read 9 Oct 2026
Purpose
Sucrase is a fast alternative to Babel for development builds targeting modern JavaScript runtimes.github.com · read 9 Oct 2026
Runtime target
Sucrase does not compile code for old browsers such as Internet Explorer, and unsupported syntax must be handled by the target runtime or other tooling.github.com · read 9 Oct 2026
Security and compliance
The project page identifies an MIT license and does not state security certifications or compliance claims.github.com · read 9 Oct 2026
Type checking
Sucrase removes TypeScript and Flow annotations but does not check types, so the project recommends using a separate typechecker or linter.github.com · read 9 Oct 2026
Usage
Sucrase can be installed as an npm or Yarn development dependency and used through a CLI, Node require hook, ts-node plugin, or JavaScript API.github.com · read 9 Oct 2026

Alternatives to Sucrase

Every alternative, ranked