create-petzl

2.0.1 • Public • Published

create-petzl

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

CLI

$ npm init petzl [options]

API

$ npm install create-petzl

Usage

const createPetzl = require("create-petzl");

(async () => {
    await createPetzl();
})();

createPetzl(options?)

Returns a Promise.

options

Type: object

cwd

Type: string
Default: process.cwd()

Current working directory.

args

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"
    }
}

/create-petzl/

    Package Sidebar

    Install

    npm i create-petzl

    Weekly Downloads

    0

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    5.23 kB

    Total Files

    5

    Last publish

    Collaborators

    • jakeadler