npm-install-security-check

1.0.4 • Public • Published

npm-install-security-check

Warn users when they are running npm install with scripts enabled.

NPM

Installation

npm install --save npm-install-security-check

Usage

By adding this package to your projects dependencies whenever a consumer installs your project via npm install they will get a big warning in the console if they don't have scripts turned off on npm install.

Silence warning

If you want to silence the warning that this package prints to the console simply add the following file to the directory in which you run npm install from or any of it's parent directories.

*npm-install-security-check.json *

{
  "silent": true
}

Readme

Keywords

none

Package Sidebar

Install

npm i npm-install-security-check

Weekly Downloads

1,422

Version

1.0.4

License

MIT

Last publish

Collaborators

  • sandersky