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 (audit-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
audit-code
audit-code installs a prebuilt AUDIT binary for your OS/arch at install time.
Install
npm i -g audit-code
audit --helpHow it works
postinstallresolves your platform (darwin-arm64,darwin-x64,linux-x64,win32-x64).- It downloads the matching release asset and
audit-checksums.txt. - It verifies SHA-256 before saving the binary into
vendor/<platform>-<arch>/. bin/audit.jslaunches the binary with inherited stdio.
Binary source override
Set AUDIT_BINARY_BASE_URL when testing mirrors or non-GitHub release endpoints:
export AUDIT_BINARY_BASE_URL="https://github.com/<owner>/<repo>/releases/download/v0.2.0"The installer appends /<asset> and /audit-checksums.txt to that base.