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-checker

Run the package binary with the project package manager:

pnpm exec runtime-checker src

Or 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