Installation
Install runtime-checker and run it against a source or build directory.Install runtime-checker as a development dependency.
deno add --dev npm:runtime-checkerbun add --dev runtime-checkerpnpm add -D runtime-checkernpm install --save-dev runtime-checkeryarn add --dev runtime-checkernub add --dev runtime-checkeraube add --dev runtime-checkervlt install --save-dev runtime-checkerRun the package binary with the project package manager:
pnpm exec runtime-checker srcOr add a repeatable script:
package.json
{
"scripts": {
"runtime:check": "runtime-checker .dist --summary"
}
}The npm launcher executes the native binary bundled for the current operating system and architecture. It exits with a clear unsupported-platform error if that binary is not present in the package.
On this page