are-scripts-enabled
v1.0.2
Published
Test if npm/yarn install scripts are enabled.
Downloads
5
Maintainers
Readme
are-scripts-enabled
NodeJS package for testing if install scripts are disabled. This includes:
preinstall
intall
postinstall
Usage
The basic usage is to add this package as a dependency and see if the installation fails.
Installation failure implies that install scripts are running.
yarn
yarn add are-scripts-enabled
npm
npm install are-scripts-enabled
Related Packages
- https://www.npmjs.com/package/@lavamoat/preinstall-always-fail
- https://www.npmjs.com/package/can-i-ignore-scripts
- https://www.npmjs.com/package/npm-install-security-check