Registry / build-tool / swc-ecma-transforms-compat

swc-ecma-transforms-compat

JSON →
library41.0.0rscratesunverified

Rust port of Babel and Closure Compiler for ECMAScript compatibility transforms.

# Cargo.toml [dependencies] swc_ecma_transforms_compat = "41.0.0"
INSTALL
IMPORT
SIG · SWC-ECMA-TRANSFORM
S
swc-ecma-transforms-compat
build-toolrustv41.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

for_of
✓ use swc_ecma_transforms_compat::es2015::for_of;

Imports the ES2015 for-of transform.

use swc_ecma_transforms_compat::es2015::for_of; fn main() { println!("for_of transform available"); }
Debug
Known issues
breakingMajor version bumps often include breaking API changes.
fix
Pin to a specific version and review changelog before upgrading.
affects: >=41.0.0
Upgrade
Version history
41.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
2
Amazon
1
Resources
swc-ecma-transforms-compat — cargo add swc-ecma-transforms-compat · libregistry