Registry / devops / lightningcss-cli-android-arm64

lightningcss-cli-android-arm64

JSON →
library1.32.0jsnpmunverified

This is the aarch64-linux-android native binary for the lightningcss-cli, a CSS parser, transformer, and minifier written in Rust for high performance. Current stable version is 1.32.0, with frequent releases following Parcel's release cadence. It is a platform-specific package that should not be installed directly; users install 'lightningcss-cli' which pulls the appropriate binary for their platform via optional dependencies. Key differentiators: very fast processing of CSS transformations, built-in support for modern CSS features like nesting, custom media queries, and draft specifications (e.g., color function, lab colors).

npm install lightningcss-cli-android-arm64
INSTALL
IMPORT
SIG · LIGHTNINGCSS-CLI-A
L
lightningcss-cli-android-arm64
devopsjavascriptv1.32.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Demonstrates minifying a CSS file via CLI and using the Node.js API to transform CSS.

npx lightningcss --minify input.css -o output.min.css echo 'Or use via API in Node.js: const { transform } = require("lightningcss"); const result = transform({ filename: "style.css", code: Buffer.from("body { color: red }"), minify: true }); console.log(result.code.toString()); '
Debug
Known issues
gotchaDo not install this package directly. It is an optional dependency of 'lightningcss-cli' for Android arm64 targets. Install 'lightningcss-cli' instead.
fix
Install the main package: npm install -D lightningcss-cli
affects: all
gotchaThis package is for Node.js 12.0.0 or higher. Ensure your environment meets the engine requirement.
fix
Upgrade Node.js to >=12.0.0
affects: >=1.0.0
breakingIn version 2.0.0, the API changed from synchronous to asynchronous for some transform options (e.g., drafts). Check your code if upgrading from v1.
fix
Use async/await or Promises when calling transform with drafts/custom media.
affects: >=2.0.0
deprecatedOption 'errorRecovery' was deprecated in v1.25.0 and replaced by 'errorRecovery' on Options object.
fix
Set errorRecovery directly on the options object.
affects: >=1.25.0
Errors
Common errors & fixes
Error: Cannot find module 'lightningcss-cli-android-arm64'
Installing the platform-specific package directly instead of the umbrella package 'lightningcss-cli'.
fix
Install lightningcss-cli: npm install -D lightningcss-cli
Error: The engine "node" is incompatible with this module. Expected version ">=12.0.0". Got "10.x"
Running Node.js older than 12.0.0.
fix
Upgrade Node.js to version 12 or higher.
TypeError: transform is not a function
Using CommonJS require with ESM-only import path in versions >=2.0.0 which default to ESM.
fix
Use dynamic import: const { transform } = await import('lightningcss');
Upgrade
Version history
1.32.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
Bingbot
1
Resources
lightningcss-cli-android-arm64 — npm install lightningcss-cli-android-arm64 · libregistry