node/deps/npm/node_modules/npm-install-checks
Timothy J Fontaine 9fad8958df deps: upgrade npm to 2.0.0 2014-09-24 17:15:10 -07: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.0.0 2014-09-24 17:15:10 -07: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