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