swc.rs Open in urlscan Pro
76.76.21.21  Public Scan

Submitted URL: http://swc.rs/
Effective URL: https://swc.rs/
Submission: On December 12 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Skip to content
SWCSpeedy Web CompilerDocsDocsPlaygroundPlaygroundBlogBlog
CTRL K
GitHubGitHub (opens in a new tab)
CTRL K
 * Docs
    * Getting Started
    * Usage
       * @swc/cli
       * @swc/core
       * @swc/wasm
       * @swc/jest
       * swc-loader
       * Bundling
   
    * Configuration
       * .swcrc
       * Compilation
       * Supported Browsers
       * Modules
       * Minification
       * Bundling
   
    * Plugin
       * Selecting swc_core
       * ECMAScript
          * Getting started
          * Cheatsheet
      
       * Publishing
   
    * Sponsors
    * Benchmarks
    * Migrating from Babel
    * Migrating from Tsc

 * Playground
    * Try SWC

 * Blog
    * Performance Comparison of SWC and Babel
    * Introducing SWC 1.0

system




SWC

Rust-based platform for the Web

SWC is an extensible Rust-based platform for the next generation of fast
developer tools. It's used by tools like Next.js, Parcel, and Deno, as well as
companies like Vercel, ByteDance, Tencent, Shopify, and more.

SWC can be used for both compilation and bundling. For compilation, it takes
JavaScript / TypeScript files using modern JavaScript features and outputs valid
code that is supported by all major browsers.

馃弾

SWC is 20x faster than Babel on a single thread and 70x faster on four cores.

Get Started 路 Playground 路 Blog 路 Rustdocs (opens in a new tab) 路 GitHub
Repository (opens in a new tab) 路 Donate (opens in a new tab)


OVERVIEW

SWC can be downloaded and used as a pre-built binary, or built from source.
Currently, the following binaries are provided:

 * Mac (Apple Silicon)
 * Mac (x64)
 * Linux (x86_64)
 * Linux (aarch64)
 * Linux (armv7)
 * Alpine Linux (also install @swc/core-linux-musl)
 * Android (aarch64)
 * Windows (win32-x64)
 * Windows (ia32)

DOWNLOAD PREBUILT BINARIES

pnpmnpmyarn

pnpm i -D @swc/cli @swc/core



TRANSPILE JAVASCRIPT FILE AND EMIT TO STDOUT

npx swc ./file.js




FEATURES

SWC is designed to be extensible. Currently, there is support for:

 * Compilation
 * Bundling (swcpack, under development)
 * Minification
 * Transforming with WebAssembly
 * Usage inside webpack (swc-loader)
 * Improving Jest performance (@swc/jest)
 * Custom Plugins

Learn more.


COMMUNITY



SWC is created by kdy1dev (opens in a new tab). Follow @kdy1dev (opens in a new
tab) on Twitter for future project updates.

Feel free to join the discussions on GitHub (opens in a new tab)!


system

--------------------------------------------------------------------------------

Powered by