Note: 99% of the work in this package was done by @sindresorhus who does amazing things for the JS community. Be sure to check out his work.
Add petzl to your project
$ npm init petzl [options]
$ npm install create-petzl
const createPetzl = require("create-petzl");
(async () => {
await createPetzl();
})();
Returns a Promise
.
Type: object
Type: string
Default: process.cwd()
Current working directory.
Type: string[]
Default: CLI arguments (process.argv.slice(2)
)
For instance, with the arguments ['--foo', '--bar']
, the following will be put in package.json:
{
"name": "awesome-package",
"scripts": {
"test": "petzl --foo --bar"
}
}