
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@swc/core-win32-arm64-msvc
Advanced tools
@swc/core-win32-arm64-msvc is a high-performance JavaScript/TypeScript compiler written in Rust. It is designed to be a drop-in replacement for Babel, offering faster compilation times and lower memory usage. This specific package is tailored for Windows on ARM64 architecture with the MSVC toolchain.
JavaScript/TypeScript Compilation
This feature allows you to compile JavaScript or TypeScript code to a specified ECMAScript version. The example demonstrates transforming modern JavaScript code to ES5.
const swc = require('@swc/core');
const inputCode = `const greet = (name) => { return `Hello, ${name}!`; };`;
swc.transform(inputCode, { jsc: { target: 'es5' } }).then(output => {
console.log(output.code);
});
Minification
This feature enables code minification, reducing the size of the output JavaScript file. The example shows how to minify a simple addition function.
const swc = require('@swc/core');
const inputCode = `function add(a, b) { return a + b; }`;
swc.transform(inputCode, { minify: true }).then(output => {
console.log(output.code);
});
Source Maps
This feature generates source maps, which are useful for debugging by mapping the transformed code back to the original source. The example demonstrates generating a source map for a simple function.
const swc = require('@swc/core');
const inputCode = `const greet = (name) => { return `Hello, ${name}!`; };`;
swc.transform(inputCode, { sourceMaps: true }).then(output => {
console.log(output.map);
});
Babel is a widely-used JavaScript compiler that allows you to use next-generation JavaScript, today. It has a rich plugin ecosystem and is highly configurable. Compared to @swc/core-win32-arm64-msvc, Babel is more mature and has broader community support, but it is generally slower in terms of compilation speed.
esbuild is an extremely fast JavaScript bundler and minifier. It is written in Go and offers blazing fast performance. While esbuild is faster than @swc/core-win32-arm64-msvc in many cases, it is less configurable and has fewer features related to code transformation.
Terser is a JavaScript parser, mangler, and compressor toolkit for ES6+. It is primarily used for minification. Compared to @swc/core-win32-arm64-msvc, Terser focuses solely on minification and does not offer the same breadth of features for code transformation.
@swc/core-win32-arm64-msvc
This is the aarch64-pc-windows-msvc binary for @swc/core
[1.11.29] - 2025-05-21
(@swc/types) Add transform.nativeClassProperties
(#10418) (f3af44c)
(@swc/types) Add resolveFully
to BaseModuleConfig
(#10426) (164cbaa)
(ci) Remove wasmer override (425eeb9)
(es/compat) Properly handle rest assignment in for-in/of head (#10489) (b9c0446)
(es/jest) Hoisting vars with names starting with mock (#10410) (a29eb29)
(es/minifier) Properly handle object shorthand syntax during compression (#10467) (bae4940)
(es/optimization) Support decimal numbers in jsonify
(#10424) (affdec2)
(es/react-compiler) Mark function components declared as a var interesting (#10437) (5eac076)
(es/renamer) Fix (broken) identifier preserving API (#10474) (06c64cf)
(ts/fast-dts) Emit readonly
for Object getter prop (#10492) (6c03e20)
(ts/fast-dts) Align object getter/setter emit behavior with TypeScript (#10502) (78c754e)
(common) Allow using build_sourcemap
with multiple SourceMap
(#10438) (2a07c8a)
(common) Add ignoreList
support for sourcemap (#10442) (6750459)
(es/module) Add support for stripping "node:" prefix in imports and exports (#10461) (ae2ff62)
(es/react-compiler) Initialize support crate (#10422) (1e88e6b)
(common) Accept owned instance of sourcemap::SourceMap
(#10463) (6ee439a)
(es/minifier) Remove needless collect_decls
call (#10450) (8e4b6ce)
(es/minifier) Perform full analysis only once for DCE (#10454) (61baf84)
(es/optimization) Rely on resolver
from inline_globals
(#10449) (1978809)
(es/utils) Make IdentUsageFinder
parallel (#10444) (d074bca)
(es/utils) Stop visiting once found in EvalFinder
(#10483) (3402270)
(es/minifier) Merge label/private name renamer (#10480) (5add84d)
(es/parser) Split parser into also-lex/parse-only (#10399) (26289ab)
(es/parser) Cleanup usage of is!
and bump!
(#10490) (b695b68)
(es/transforms) Unify preset_env
and es_version
transform (#10451) (6546c27)
FAQs
Super-fast alternative for babel
The npm package @swc/core-win32-arm64-msvc receives a total of 1,402,709 weekly downloads. As such, @swc/core-win32-arm64-msvc popularity was classified as popular.
We found that @swc/core-win32-arm64-msvc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.