Platform-specific native binary package for @swc/core on Linux ARM64 musl systems
npx @tessl/cli install tessl/npm-swc--core-linux-arm64-musl@1.13.0@swc/core-linux-arm64-musl is a platform-specific native binary package that provides optimized native performance for the SWC compiler on Linux ARM64 systems using musl libc. This package contains no JavaScript API - it serves solely as a distribution mechanism for the compiled native binary.
@swc/coreThis package is part of SWC's multi-platform distribution strategy. SWC (Speedy Web Compiler) is a super-fast TypeScript and JavaScript compiler written in Rust that serves as a high-performance alternative to Babel. Rather than providing a single large binary, SWC distributes platform-specific native binaries as separate optional dependencies to optimize installation size and performance.
Important: This package provides no JavaScript API and should never be imported directly. It contains only native binary files.
// INCORRECT - This package cannot be imported
import anything from "@swc/core-linux-arm64-musl"; // ❌ Will fail - no exports
// CORRECT - Use @swc/core instead
import { transform, minify, parse } from "@swc/core"; // ✅ Correct approachThis package is used automatically by @swc/core and requires no direct interaction:
# Install @swc/core (this package gets installed automatically if needed)
npm install @swc/core
# Use SWC through @swc/core - the native binary from this package runs behind the scenes
npx swc ./src --out-dir ./distImportant: This package should never be installed directly. It is automatically installed as an optional dependency when you install @swc/core on a compatible Linux ARM64 musl system.
# Correct way - install @swc/core
npm install @swc/core
# @swc/core-linux-arm64-musl gets installed automatically on compatible systems
# Incorrect - do not install directly
npm install @swc/core-linux-arm64-musl # Don't do thisThis package is part of SWC's multi-platform binary distribution strategy. When @swc/core is installed:
@swc/core loads the appropriate binary at runtime through its binding mechanism@swc/core falls back to the WebAssembly versionProvides platform-specific native binaries optimized for Linux ARM64 musl systems.
{
"main": "swc.linux-arm64-musl.node",
"files": [
"swc.linux-arm64-musl.node",
"swc"
]
}Defines the specific platform requirements for automatic installation.
{
"os": ["linux"],
"cpu": ["arm64"],
"libc": ["musl"],
"engines": {
"node": ">=10"
}
}This package has no direct JavaScript API. All SWC functionality is accessed through the @swc/core package, which automatically loads this binary when running on compatible systems.
// This package provides the native binary that powers these @swc/core functions
import { transform, minify, parse } from "@swc/core";
// When running on Linux ARM64 musl, @swc/core automatically uses
// the swc.linux-arm64-musl.node binary from this package
const result = await transform(code, options);Using this native binary instead of WebAssembly provides:
If the native binary fails to load:
@swc/core will automatically attempt to install and use @swc/wasm as a fallbackSWC_BINARY_PATH environment variable to specify a custom binary location@swc/core-linux-arm64-gnu for glibc systems)@swc/coreThis package is part of SWC's platform-specific binary ecosystem:
@swc/core-linux-arm64-musl is a pure distribution package containing native binaries with no JavaScript API. It exists to provide optimal native performance for SWC on Linux ARM64 musl systems. Users interact with SWC functionality exclusively through the @swc/core package, which automatically handles loading the appropriate platform-specific binary from packages like this one.