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
sentinelCLI 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 checkWith sentinel binary in PATH
If you have the sentinel binary installed globally:
sentinel ci
sentinel install <package>@<version>
sentinel checkSee the main README for binary installation instructions (Linux, macOS, Windows).
Recommended for end users (package.json scripts)
{
"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.21How it works
- Looks for a local
sentinelbinary (viaSENTINEL_BINorPATH) - Falls back to a managed binary cached at
~/.cache/sentinel/bin/<version>/ - If not cached, downloads the release asset from GitHub and verifies its SHA-256 checksum against
checksums.txt - 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 |