@cypherpotato/cascadium
v1.0.3
Published
Official Cascadium CLI with prebuilt executables for CSS nesting workflows.
Downloads
9
Maintainers
Readme
@cypherpotato/cascadium
Official distribution of the Cascadium CLI, a CSS compiler with first-class nesting support.
Quick install
npx install @cypherpotato/cascadium
cascadium --helpYou can also add it as a project dependency:
npm install --save-dev @cypherpotato/cascadiumSupported platforms
| Operating system | Architectures |
| --- | --- |
| Windows | x64, arm64 |
| Linux | x64, arm64 |
| macOS | x64, arm64 |
At runtime the package picks the appropriate binary automatically. If you're on an unsupported platform, point the CASCADIUM_BINARY environment variable to a compatible executable.
Usage
Once installed, the cascadium command is available on your PATH. Run cascadium --help for the full list of options or visit the documentation at https://github.com/CypherPotato/cascadium.
Refreshing the bundled binaries
Use the PowerShell helpers in the repository to regenerate every runtime:
pwsh -NoProfile -File tool/build-win.ps1
pwsh -NoProfile -File tool/build-linux.ps1
pwsh -NoProfile -File tool/build-osx.ps1Each script publishes the CLI for the target runtime and mirrors the output into package/dist/<rid>. After rebuilding for Unix-like platforms, keep the executable bit tracked in git:
git update-index --add --chmod=+x package/dist/linux-x64/cascadium
git update-index --add --chmod=+x package/dist/linux-arm64/cascadium
git update-index --add --chmod=+x package/dist/osx-x64/cascadium
git update-index --add --chmod=+x package/dist/osx-arm64/cascadiumLicense
Distributed under the MIT License. See LICENSE for details.
