Platform-specific native binary providing SWC compiler implementation for Linux x64 musl systems as optional dependency
npx @tessl/cli install tessl/npm-swc--core-linux-x64-musl@1.13.0SWC Core Linux x64 Musl is a platform-specific native binary distribution containing the compiled Rust implementation of SWC (Speedy Web Compiler) optimized for Linux x64 systems with musl libc. This package provides no JavaScript API and serves exclusively as an optional dependency for the main @swc/core package.
@swc/coreThis package exports no JavaScript API. All SWC functionality is accessed through the main @swc/core package:
import { transform, transformSync, parse, parseSync } from "@swc/core";For CommonJS:
const { transform, transformSync, parse, parseSync } = require("@swc/core");This package cannot be used directly. It is consumed automatically by @swc/core when running on compatible Linux musl systems:
// This uses @swc/core, which automatically loads the musl binary when available
import { transform } from "@swc/core";
const result = await transform(`
const message: string = "Hello, World!";
console.log(message);
`, {
filename: "example.ts",
jsc: {
parser: {
syntax: "typescript",
},
target: "es2018",
},
module: {
type: "commonjs",
},
});This package contains only a single compiled native binary file:
@swc/core when running on compatible systemsprocess.platform === 'linux' and musl libc is detectedThis package serves as a platform-specific native binary distribution for SWC's core functionality.
// No direct API - this package provides only the compiled binary
// All functionality is accessed through @swc/coreKey characteristics:
@swc/core packageThis package is automatically installed when installing @swc/core on compatible systems. No direct interaction is required:
# Installing @swc/core will automatically include platform-specific binaries
npm install @swc/core
# The musl binary is automatically used when running on compatible systems
# No additional configuration neededswc.linux-x64-musl.node@swc/core's platform detection