node/deps/npm/node_modules/npm-install-checks
Kat Marchán c0d858f8bb
deps: upgrade npm beta to 5.0.0-beta.56
PR-URL: https://github.com/nodejs/node/pull/12936
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-05-23 19:39:43 +02:00
..
test deps: upgrade npm to 3.6.0 2016-02-01 10:43:34 -05:00
CHANGELOG.md deps: upgrade npm to 3.6.0 2016-02-01 10:43:34 -05:00
index.js deps: upgrade npm to 3.6.0 2016-02-01 10:43:34 -05:00
LICENSE npm: upgrade to v1.4.14 2014-06-06 15:07:29 -07:00
package.json deps: upgrade npm beta to 5.0.0-beta.56 2017-05-23 19:39:43 +02:00
README.md deps: upgrade npm to 3.6.0 2016-02-01 10:43:34 -05:00

npm-install-checks

A package that contains checks that npm runs during the installation.

API

.checkEngine(target, npmVer, nodeVer, force, strict, cb)

Check if node/npm version is supported by the package. If not strict and it isn't supported, cb is called with the error object as its second argument.

Error type: ENOTSUP

.checkPlatform(target, force, cb)

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