1.0.8 • Published 5 years ago
@neos21/req-cmd v1.0.8
@neos21/req-cmd : req-cmd
require() API and CLI in one JS.
This npm package is made from one file index.js only.
How to use
require() API
const reqCmd = require('@neos21/req-cmd');
reqCmd();
// -> '@neos21/req-cmd by Neo (@Neos21) https://neos21.net/'CLI
$ npm install -D @neos21/req-cmdAdd npm-scripts:
{
"name": "test-project",
"scripts": {
"exec": "req-cmd"
}
}$ npm run exec
> test-project@0.0.0 exec
> req-cmd
@neos21/req-cmd by Neo (@Neos21) https://neos21.net/