PHP 8.2.30
Preview: README.md Size: 630 B
/lib/node_modules/npm/node_modules/npm-install-checks/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. 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`

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
328 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download
4.10 KB lrw-r--r-- 2021-03-10 14:36:39
Edit Download
1.30 KB lrw-r--r-- 2021-03-10 14:36:39
Edit Download
1.66 KB lrw-r--r-- 2021-03-10 14:36:39
Edit Download
630 B lrw-r--r-- 2021-03-10 14:36:39
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).