1 repositorio
Applies only requested syntax transforms while leaving other modern syntax unchanged.
Distinct from Syntax Transformers: Distinct from Syntax Transformers: applies only requested transforms (JSX, TypeScript, Flow, imports) rather than all possible transformations.
Explore 1 awesome GitHub repository matching web development · Selective. Refine with filters or upvote what's useful.
Sucrase is a high-speed transpilation tool that compiles modern JavaScript, TypeScript, JSX, and Flow to standard JavaScript for modern runtimes. It operates as a fast alternative to Babel, using a single-pass scanner and tokenizer that strips type annotations and applies only requested syntax transforms without building an AST or performing type checking. The tool differentiates itself through a zero-type-checking pipeline that omits type checking entirely, relying on the assumption that input code is already valid for the target runtime. It uses scanner-based tokenization and single-pass co
Applies only requested syntax transforms for JSX, TypeScript, Flow, and imports while leaving other modern syntax unchanged.