Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swc-project/swc
Rust-based platform for the Web
https://github.com/swc-project/swc
babel compiler ecmascript ecmascript-parser javascript parser rust swc typescript typescript-compiler typescript-parser
Last synced: 1 day ago
JSON representation
Rust-based platform for the Web
- Host: GitHub
- URL: https://github.com/swc-project/swc
- Owner: swc-project
- License: apache-2.0
- Created: 2017-12-22T11:40:14.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T10:28:52.000Z (7 days ago)
- Last Synced: 2025-01-08T20:29:40.073Z (6 days ago)
- Topics: babel, compiler, ecmascript, ecmascript-parser, javascript, parser, rust, swc, typescript, typescript-compiler, typescript-parser
- Language: Rust
- Homepage: https://swc.rs
- Size: 340 MB
- Stars: 31,471
- Watchers: 153
- Forks: 1,249
- Open Issues: 398
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome - swc - Super-fast javascript to javascript compiler written in rust (Rust)
- awesome-ccamel - swc-project/swc - Rust-based platform for the Web (Rust)
- awesome-rust - SWC - fast TypeScript / JavaScript compiler (Applications)
- awesome-rust-cn - SWC
- awesome-repositories - swc-project/swc - Rust-based platform for the Web (Rust)
- awesome-repositories - swc-project/swc - fast javascript to javascript compiler written in rust. (Tools)
- awesome-github-star - swc - based platform for the Web | swc-project | 28599 | (Rust)
- made-in-korea - swc
- awesome - swc-project/swc - fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. (React / Build)
- awesome - swc-project/swc - Rust-based platform for the Web (Rust)
- awesome-list - swc - fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. | swc-project | 14300 | (TypeScript)
- awesome-js-tooling-not-in-js - swc - TypeScript/JavaScript compiler in Rust. (Compilers)
- awesome-js-tooling-in-rust - swc
- awesome-f2e-libs - **swc** - 基于 rust 的语法转换器,babel 的竞争者。 (打包工具 / 非 JavaScript 编译工具)
- awesome-nodejs - swc - Super fast javascript / typescript compiler (Uncategorized / Uncategorized)
- awesome-fe - **swc** - 基于 rust 的语法转换器,babel 的竞争者。 (打包工具 / 非 JavaScript 编译工具)
- awesome-rust - SWC - super-fast TypeScript / JavaScript compiler (Applications)
- awesome-star-libs - swc-project / swc
- awesome - SWC - Rust-based Babel. (Bundle Tool)
- awesome-fe-resources - swc
- StarryDivineSky - swc-project/swc
- awesome - 🦀 swc - swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. (Compiler / Other)
- awesome - 🦀 swc - swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript. (Compiler / Other)
- awesome-rust-list - SWC - project/swc?style=social"/> : SWC (stands for Speedy Web Compiler) is a super-fast TypeScript / JavaScript compiler written in Rust. [swc.rs](https://swc.rs/) (Web Framework)
- fucking-awesome-rust - SWC - super-fast TypeScript / JavaScript compiler (Applications)
- fucking-awesome-rust - SWC - super-fast TypeScript / JavaScript compiler (Applications)
- stars - swc - based platform for the Web | swc-project | 31488 | (Rust)
- stars - swc - based platform for the Web | swc-project | 31456 | (Rust)
- my-awesome-list - swc - based platform for the Web | swc-project | 31485 | (Rust)
README
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.
---
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 swc
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.