Skip to content

swc-project/swc

This branch is 1 commit ahead of main.

Folders and files

NameName
Last commit message
Last commit date
Jul 19, 2024
Jan 27, 2025
Apr 26, 2022
Jan 16, 2025
Jan 27, 2025
Jan 27, 2025
Nov 4, 2024
Jan 27, 2025
Jul 12, 2024
Jan 14, 2025
Dec 14, 2024
Jan 6, 2025
Apr 22, 2022
Jul 19, 2024
May 23, 2024
Jan 3, 2024
May 4, 2022
May 4, 2022
Aug 18, 2023
May 4, 2022
Aug 1, 2022
Aug 3, 2022
May 28, 2024
Feb 27, 2024
Jan 27, 2025
Oct 23, 2024
Jan 27, 2025
Jan 26, 2025
Aug 11, 2024
Jul 24, 2024
Jan 10, 2025
Oct 1, 2024
Jul 15, 2024
Dec 9, 2022
Dec 16, 2024
Jul 19, 2024
Oct 24, 2024
Aug 19, 2024
Oct 8, 2024
Feb 5, 2024
Jan 6, 2025
Jan 2, 2025

Repository files navigation

swc

Make the web (development) faster.

downloads (@swc/core) downloads (3rd party)

undefined GitHub release (latest SemVer)

GitHub code size in bytes node-current (scoped)

Discord

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.

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.

Documentation

Check out the documentation in the website.

Features

Please see comparison with babel.

Performance

Please see benchmark results on the website.

Supporting swc

Sponsors

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:

Contributing

See CONTRIBUTING.md. You may also find the architecture documentation useful (ARCHITECTURE.md).

License

SWC is primarily distributed under the terms of the Apache License (Version 2.0).

See LICENSE for details.