node/deps/npm/node_modules/npm-install-checks
Forrest L Norvell 9dc8f59fea deps: upgrade npm to 2.2.0
PR-URL: https://github.com/iojs/io.js/pull/479
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-18 13:51:49 +01:00
..
test npm: Upgrade to v1.4.0 2014-02-13 16:35:41 -08:00
LICENSE npm: upgrade to v1.4.14 2014-06-06 15:07:29 -07:00
README.md npm: Upgrade to v1.4.0 2014-02-13 16:35:41 -08:00
index.js npm: Upgrade to v1.4.0 2014-02-13 16:35:41 -08:00
package.json deps: upgrade npm to 2.2.0 2015-01-18 13:51:49 +01:00

README.md

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.

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