JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q60315F
  • License MIT

User-friendly command wrappers for Sentinel CLI

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 (sentinel-check) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    sentinel-check

    Thin npm wrapper for the sentinel CLI published from the sentinel-npm repository.

    Lets you run sentinel without installing anything — npx resolves and executes the binary automatically.

    sentinel-check is not the main product name. It is the npm distribution channel used to expose Sentinel conveniently in Node and CI environments.


    Quick start

    No installation required (npx)

    # check current project
    npx -y -p sentinel-check ci
    
    # install a package with integrity verification
    npx -y -p sentinel-check install <package>@<version>
    
    # audit only
    npx -y -p sentinel-check check

    With sentinel binary in PATH

    If you have the sentinel binary installed globally:

    sentinel ci
    sentinel install <package>@<version>
    sentinel check

    See the main README for binary installation instructions (Linux, macOS, Windows).

    {
      "scripts": {
        "sentinel:ci": "npx -y -p sentinel-check ci",
        "sentinel:check": "npx -y -p sentinel-check check",
        "sentinel:install": "npx -y -p sentinel-check install"
      }
    }
    npm run sentinel:ci
    npm run sentinel:check
    npm run sentinel:install -- lodash@4.17.21

    How it works

    1. Looks for a local sentinel binary (via SENTINEL_BIN or PATH)
    2. Falls back to a managed binary cached at ~/.cache/sentinel/bin/<version>/
    3. If not cached, downloads the release asset from GitHub and verifies its SHA-256 checksum against checksums.txt
    4. Executes the resolved binary with all arguments forwarded

    Environment overrides

    Variable Description
    SENTINEL_BIN path to an existing local binary
    SENTINEL_VERSION pin a specific release version
    SENTINEL_RELEASE_REPO override release repository (owner/repo)
    SENTINEL_RELEASE_BASE_URL override release base URL
    SENTINEL_SKIP_DOWNLOAD=1 disable automatic binary download