Skip to content

boneskull/create-yo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 1, 2018 00:18
November 1, 2018 00:18
May 12, 2020 16:47
May 12, 2020 16:47

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