Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Sucrase

sucrase.io

  • Free plan
  • Linux
  • API
6.6 Club score Visit sucrase.io

What Sucrase is

Sucrase is a free, MIT-licensed tool that transforms modern JavaScript-family code for development builds. It handles JSX, TypeScript and Flow, plus import, React hot loader and Jest transforms. Default syntax transforms include optional chaining, nullish coalescing, class fields, numeric separators and optional catch binding. Sucrase removes TypeScript and Flow annotations but does not check types, so the project recommends a separate typechecker or linter. Developers can install it as an npm or Yarn development dependency and use a command-line interface, Node require hook, ts-node plugin or JavaScript API. Listed integrations include Webpack, Gulp, Jest, Rollup and Broccoli. The tool targets modern runtimes rather than old browsers such as Internet Explorer; unsupported syntax must be handled by the runtime or other tooling. Sucrase has no plugin API, and its transforms must be explicitly implemented to cooperate. The project says it is mostly beneficial in development, while Babel or tsc may suit production builds better. It is available through API and Linux platforms.

Who it suits

Sucrase suits developers building for modern JavaScript runtimes who want fast development transforms. Teams needing type checking, old-browser compilation or production-focused tooling may need additional tools.

Good to know, and what to watch

  • Transforms JSX, TypeScript and Flow
  • Supports several build-tool integrations
  • Offers CLI and JavaScript API use
  • MIT-licensed and free
  • Handles modern syntax by default
  • Does not perform type checking
  • Does not target Internet Explorer
  • No plugin API
  • Project favors Babel or tsc for production

Sucrase

Free

Free plan

The verdict

Sucrase provides a focused, free transform layer for modern-runtime development. Its lack of type checking, plugin support and old-browser output defines where other tooling is required.

What the maker publishes

Integrations
The README lists Webpack, Gulp, Jest, Rollup, and Broccoli integrations, plus a ts-node plugin. source
JavaScript syntax
It transforms optional chaining, nullish coalescing, class fields, numeric separators, and optional catch binding by default. source
Language transforms
It transforms JSX, TypeScript, and Flow, and also supports import, React hot loader, and Jest transforms. source
License
Sucrase is MIT-licensed. source
Plugins
Sucrase is not pluginizable; its transforms must be explicitly implemented to cooperate with one another. source
Production use
The project says Sucrase is mostly beneficial in development and that Babel or tsc may be more suitable for production builds. source
Purpose
Sucrase is a fast alternative to Babel for development builds targeting modern JavaScript runtimes. source
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. source
Security and compliance
The project page identifies an MIT license and does not state security certifications or compliance claims. source
Type checking
Sucrase removes TypeScript and Flow annotations but does not check types, so the project recommends using a separate typechecker or linter. source
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. source

Checked against the maker's pages on 9 Oct 2026.