Skip to content

JakeAdler/create-quyz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-quyz

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 quyz to your project

CLI

$ npm init quyz [options]

API

$ npm install create-quyz

Usage

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

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

createQuyz(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": "quyz --foo --bar"
    }
}

About

Add petzl to your project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%