pnpm-install-checks

checks that pnpm runs during the installation of a module

BSD-2-Clause 3 个版本
安装
npm install pnpm-install-checks
yarn add pnpm-install-checks
pnpm add pnpm-install-checks
bun add pnpm-install-checks
README

pnpm-install-checks

checks that pnpm runs during the installation of a module

npm version Build Status

API

.checkEngine(target, currentEngine): Promise<Error>

Check if node/npm version is supported by the package. If not supported, an error object is returned.

Error type: ENOTSUP

.checkPlatform(target): Promise<Error>

Check if OS/Arch is supported by the package.

Error type: EBADPLATFORM

.checkCycle(target, ancestors, cb)

Check for cyclic dependencies.

Error type: ECYCLE

.checkGit(folder, cb)

Check if a folder is a .git folder.

Error type: EISGIT

License

BSD

版本列表
1.1.0 2017-01-15
1.0.1 2016-11-06
1.0.0 2016-11-06