Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

swc

> 编程语言
Open source

Rust-based platform for the Web

34.2K stars0 likes2 views
WebsiteGitHub

About

Rust-based platform for the Web

Make the web (development) faster.

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](https://rustdoc.swc.rs/swc/) and for most users, your entry point for using the library will be [parser](https://rustdoc.swc.rs/swc_ecma_parser/). Also, SWC tries to ensure that > If you select the latest version of each crates, it will work for rust users. MSRV of crates is currently `1.73`. To update all SWC crates you use, you can run `curl https://raw.githubusercontent.com/swc-project/swc/main/scripts/update-all-swc-crates.sh | bash -s`. This script will update all dependencies to the latest version and run `cargo build` to ensure that everything works. Note that you need - `jq` - `cargo upgrade` command to run the script. Supported Node Versions: - Node v10+ for usage - Node v20+ for development --- If you are using SWC from JavaScript, please refer to [docs on the website](https://swc.rs/docs/installation/). # Documentation Check out the documentation [in the website](https://swc.rs/docs/installation/). # Features Please see [comparison with babel](https://swc.rs/docs/migrating-from-babel). # Performance Please see [benchmark results](https://swc.rs/docs/benchmark-transform) on the website. # Supporting development

Supporting swc

## Star History ## Powered by ## Sponsors

SWC is a community-driven project, and is maintained by a group of [volunteers](https://swc.rs/docs/team). If you'd like to help support the future of the project, please consider: - Giving developer time on the project. (Message us on [Discord](https://discord.gg/GnHbXTdZz6) (preferred) or [Github discussions](https://github.com/swc-project/swc/discussions) for guidance!) - Giving funds by becoming a sponsor (see https://opencollective.com/swc)! ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md). You may also find the architecture documentation useful ([ARCHITECTURE.md](ARCHITECTURE.md)). ## License SWC is primarily distributed under the terms of the Apache License (Version 2.0). See [LICENSE](LICENSE) for details.

Issues· 438 open

View all issuesOpen on GitHub
  • #12442

    @swc/core 1.16: native addon cache validation rejects ordinary Windows directories, so require('@swc/core') throws

    Updated Sep 29, 2026
  • #12438

    es/minifier: shadowed `undefined` parameter renamed to `undefined1`, leaving an undeclared reference

    C-bugUpdated Sep 29, 2026
  • #12433

    for...of transformation mess up repeated JS labels

    C-bugUpdated Sep 28, 2026
  • #12430

    for await...of loops transformation lost JS labels

    C-bugUpdated Sep 28, 2026
  • #12429

    Legacy decorators: the generated `_ts_decorate(...)` calls have no source map mappings

    Updated Sep 28, 2026
  • #12427

    Private method call in an update expression (`this.#m().n++`) compiles to field helper → `privateMap.get is not a function`

    Updated Sep 28, 2026
  • #12423

    reactCompiler: stack overflow on long call chains; fast_check::is_required unused by transform

    Updated Sep 27, 2026
  • #12405

    Flow parser: component parameter that is both renamed and optional (`foo as bar?: T`) fails to parse

    Updated Sep 23, 2026
  • #12404

    Minifier emits `if (…) async function` for #8953 input again

    Updated Sep 23, 2026
  • #12403

    `@swc/html` parser drops customizable-select markup (`<button>`, `<selectedcontent>`, rich `<option>` content)

    Updated Sep 22, 2026

> Tags

Rustbabelcompilerecmascriptecmascript-parser

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言