node/deps/npm/node_modules/npm-install-checks
isaacs 55543d3c45 npm: Upgrade to v1.4.0
- Removes 'npm publish -f'
- Documentation
- Bug-fixes
- Update license etc to refer to npm, Inc. rather than @isaacs personally
2014-02-13 16:35:41 -08:00
..
test npm: Upgrade to v1.4.0 2014-02-13 16:35:41 -08:00
LICENSE npm: Upgrade to v1.4.0 2014-02-13 16:35:41 -08: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 npm: Upgrade to v1.4.0 2014-02-13 16:35:41 -08: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