Skip to content

For when `npm init -y` is too many keystrokes

Notifications You must be signed in to change notification settings

searls/create-y

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-y

Have you ever created a new npm package by running npm init -y so that you can skip the interactive questionnaire about your package's description, repository, and license?

I know I have!

But have you also forgotten to put a - character in front of your y? Me too!

Thanks to npm init's otherwise goofy and surprising behavior of taking whatever is passed after init and searching the registry for create-nonsense@latest in order to execute npx create-nonsense, we were able to recover from this frequent typo by publishing create-y.

screen shot 2018-08-23 at 3 17 18 pm

Please enjoy!

Also, don't run npm init -y y.

About

For when `npm init -y` is too many keystrokes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published