alangpierce/sucrase

Super-fast alternative to Babel for when you can target modern JS runtimes

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 43 minutes ago
Added to GitGenius on September 11th, 2026
Created on October 3rd, 2017
Open Issues & Pull Requests: 80 (+0)
GitHub issues: Enabled
Number of forks: 155
Total Stargazers: 5,870 (+0)
Total Subscribers: 45 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.4 hours
Mean response time: 134.9 days
90th percentile: 403.6 days
Tracked items: 3

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 5
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 994 days
Stale 30+ days: 5
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Sucrase is a JavaScript compiler that provides a super-fast alternative to Babel for development builds targeting modern runtimes.

Sucrase solves the problem of slow compilation during development by narrowing its scope dramatically. Rather than compiling a broad range of JavaScript features for compatibility with older environments, it assumes you are developing with a recent browser or Node.js version and focuses exclusively on transforming non-standard language extensions: JSX, TypeScript, and Flow. This smaller scope enables a simpler, more performant architecture. The tool's parser is forked from Babel's parser but trimmed to handle only this focused subset of transformations.

Sucrase suits developers who work with modern JavaScript environments and want faster build times during development. It is particularly valuable in projects using TypeScript, JSX, or Flow where compilation speed matters more than broad backward compatibility. The tool has been validated against substantial real-world codebases, successfully building the Benchling frontend, Babel itself, React, TSLint, Apollo client, and decaffeinate—totaling about one million lines of code with all tests passing. If your project targets recent JavaScript runtimes and you need faster development builds, Sucrase can meaningfully accelerate your workflow compared to Babel.

The project maintains active development with regular updates and bug fixes. The codebase shows consistent attention to performance optimization and correctness. The tool includes comprehensive testing infrastructure and maintains a public benchmark suite to track performance characteristics. Documentation is well-maintained with an interactive online playground available for experimentation.