Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/searls/create-y
For when `npm init -y` is too many keystrokes
https://github.com/searls/create-y
Last synced: 21 days ago
JSON representation
For when `npm init -y` is too many keystrokes
- Host: GitHub
- URL: https://github.com/searls/create-y
- Owner: searls
- Created: 2018-08-23T22:04:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T22:17:55.000Z (over 6 years ago)
- Last Synced: 2024-11-02T23:23:20.067Z (2 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://docs.npmjs.com/cli/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`.Please enjoy!
Also, don't run `npm init -y y`.