"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm-install-checks/README.md" (11 Apr 2017, 630 Bytes) of package /windows/misc/atom-windows.zip:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.


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


.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.


.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