JSPM

@cypherpotato/cascadium

1.0.0-beta1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q26914F
  • License MIT

Official Cascadium CLI with prebuilt executables for CSS nesting workflows.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cypherpotato/cascadium) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @cypherpotato/cascadium

    Official distribution of the Cascadium CLI, a CSS compiler with first-class nesting support.

    Quick install

    npx install @cypherpotato/cascadium
    cascadium --help

    You can also add it as a project dependency:

    npm install --save-dev @cypherpotato/cascadium

    Supported 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.ps1

    Each 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/cascadium

    License

    Distributed under the MIT License. See LICENSE for details.