create-yo

2.0.0 • Public • Published

create-yo

Use any Yeoman generator with "npm init"

As of npm v6.1.0, you can use a custom package with npm init to scaffold a project.

Table of Contents

Install

You could install this, but you shouldn't have to. Use npm to install globally if you wish.

Requirements

  • Node.js v10.0.0+
  • npm v6.1.0+

Usage

$ npm init yo <some-generator>[:subgenerator]

All Yeoman generator packages start with generator-; this prefix is optional unless you are using a scoped package. In other words, npm init yo license will work just as well as npm init yo generator-license, but to use generator @butts/generator-butts, you must specify the complete package name with npm init yo @butts/generator-butts.

See a list of generators here.

Notes

This package does little other than monkey with arguments and invoke npx programmatically.

Contribution

Please use Conventional Commit conventions. Commit messages are checked via Git hook using commitlint.

Maintainers

@boneskull

License

Copyright © 2019 Christopher Hiller. Licensed Apache-2.0

Package Sidebar

Install

npm i create-yo

Weekly Downloads

11

Version

2.0.0

License

Apache-2.0

Unpacked Size

7.01 kB

Total Files

5

Last publish

Collaborators

  • boneskull