https://github.com/swc-project/swc Skip to content Sign up * Why GitHub? + Features + Mobile + Actions + Codespaces + Packages + Security + Code review + Issues + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Learning Lab + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this organization All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} swc-project / swc Public * * Notifications * Fork 552 * Star 18.7k * swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. swc.rs Apache-2.0 License 18.7k stars 552 forks Star Notifications * Code * Issues 224 * Pull requests 18 * Discussions * Actions * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Security * Insights main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 178 tags Code Latest commit @kdy1 kdy1 test(es/codegen): Add some tests for sourcemap (#3078) ... 1 0e58950 Dec 20, 2021 test(es/codegen): Add some tests for sourcemap (#3078) 0e58950 1 Git stats * 1,961 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .cargo chore: Reduce compile time Nov 30, 2021 .github refactor(es/parser): Make some verification logic optional (#3024) Dec 13, 2021 .husky chore: Break cycles (#2941) Dec 2, 2021 .vscode chore: Make rust-analyzer faster (#2962) Dec 3, 2021 crates test(es/codegen): Add some tests for sourcemap (#3078) Dec 20, 2021 node-swc type(node/swc): Allow null for NamedExportSpecifier.exported (#3010) Dec 11, 2021 packages/swc-helpers chore: Publish @swc/helpers@0.3.2 Dec 7, 2021 scripts chore(repo): Make git faster (#3075) Dec 20, 2021 tests feat(plugin): Enable plugin support under experimental flag (#2894) Nov 28, 2021 .gitattributes chore: Ignore linguist detection for fixtures (#2285) Sep 22, 2021 .gitignore refactor: Flatten crates (#2697) Nov 9, 2021 .gitmodules refactor: Flatten ecmascript (#2708) Nov 10, 2021 .mocha.setup.js build: Use mocha for exec_ test instead of jest (#3009) Dec 11, 2021 .mocharc.js build: Use mocha for exec_ test instead of jest (#3009) Dec 11, 2021 .npmignore refactor(visit): Remove &dyn Node from Visit (#2984) Dec 7, 2021 .prettierrc feat(es/minifier): Implement minifier partially (#1302) May 20, 2021 .rustfmt.toml fix(es/minifier): Fix join_vars (#2494) Oct 20, 2021 ARCHITECTURE.md feat(swc): Add IsModule (#2601) Nov 16, 2021 CHANGELOG.md chore: Publish crates Dec 20, 2021 CONTRIBUTING.md chore: Fix links and paths (#2773) Nov 17, 2021 Cargo.lock chore: Publish crates Dec 20, 2021 Cargo.toml feat(cli): Setup packages for CLI (#3070) Dec 20, 2021 LICENSE chore(node): Publish v1.2.121 Dec 19, 2021 README.md chore: Update markdown files to use "SWC" instead of "swc" (#2744) Nov 15, 2021 cliff.toml chore: Add changelog and pr template (#3017) Dec 12, 2021 cspell.json feat(node-swc): Add cargo feature for v2 (#3019) Dec 12, 2021 deny.toml chore: Fix license issue (#3002) Dec 10, 2021 jest.config.js fix(node-swc): Fix visitor (#1890) Jul 4, 2021 package.json feat(es/preset-env): Add ES2022 features to preset-env (#3072) Dec 19, 2021 rust-toolchain chore: Fix benchmark github action (#2755) Nov 15, 2021 tsconfig.json spack: super-fast bundler (#825) Jun 13, 2020 yarn.lock feat(es/preset-env): Add ES2022 features to preset-env (#3072) Dec 19, 2021 View code Documentation Features Performance Supporting swc Contributing License README.md babel Make the web (development) faster. npm Downloads undefined CI Status SWC (stands for Speedy Web Compiler) is a super-fast TypeScript / JavaScript compiler written in Rust. It's a library for Rust and JavaScript at the same time. If you are using SWC from Rust, see rustdoc and for most users, your entry point for using the library will be parser. If you are using SWC from JavaScript, please refer to docs on the website. Documentation Check out the documentation in the website. Features Please see comparison with babel. Performance Please see benchmark results on the website. Supporting swc Backers on Open Collective Gold sponsors on Open Collective Silver sponsors on Open Collective Bronze sponsors on Open Collective SWC is a community-driven project, and is maintained by a group of volunteers. If you'd like to help support the future of the project, please consider: * Giving developer time on the project. (Message us on Discord (preferred) or Github discussions for guidance!) * Giving funds by becoming a sponsor (see https:// opencollective.com/swc)! Contributing See CONTRIBUTING.md. You may also find the architecture documentation useful (ARCHITECTURE.md). License SWC is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details. About swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. swc.rs Topics javascript rust parser babel typescript compiler ecmascript swc typescript-compiler typescript-parser ecmascript-parser Resources Readme License Apache-2.0 License Stars 18.7k stars Watchers 131 watching Forks 552 forks Releases 96 v1.2.121 Latest Dec 19, 2021 + 95 releases Sponsor this project * * open_collective opencollective.com/swc Learn more about GitHub Sponsors Used by 2.4k * @the-montessori-woodshop * @danielbeutner * @cherryApp * @jjunior96 * @aloTu * @Kazuki-Ono-SWE * @TrigenSoftware * @aloTu + 2,417 Contributors 118 * @kdy1 * @alexander-akait * @dsherret * @g-plane * @kwonoj * @Brooooooklyn * @sosukesuzuki * @devongovett * @bors[bot] * @Austaras * @nayeemrmn + 107 contributors Languages * Rust 75.1% * JavaScript 19.4% * TypeScript 5.0% * Other 0.5% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.