require-external-programs
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

Require External Programs

Prevent user from installing your package without required executables

Requirements

  • Node.js ≥ 8.9.0

Usage

Add this to your package.json:

{
  "dependencies": {
    "require-external-programs": "<version range>"
  },
  "requireExternalPrograms": [
    "git",
    "python"
  ]
}

Notes

  • This package assumes you run npm install at the root of your project.

License

MIT © Hoàng Văn Khải

Package Sidebar

Install

npm i require-external-programs

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

2.18 kB

Total Files

5

Last publish

Collaborators

  • khai96_