Skip to content

Latest commit

 

History

History
executable file
·
36 lines (23 loc) · 889 Bytes

README.md

File metadata and controls

executable file
·
36 lines (23 loc) · 889 Bytes

hrd

An npx utility to make it easy to hoard, um… reserve an npm name.

npm version

Do you hoard a lot of npm packages? Tired of doing it manually? Well no more.

Usage

$ npx hrd npm-name-to-take

That's it! It will create a temporary folder, run npm init -y in that folder, then run npm publish.

Defaults

You can setup your defaults like this (replace with your data/preference, obviously).

$ npm config set init-version "0.0.0"
$ npm config set init-license "MIT"
$ npm config set init-author-name "Donavon West"
$ npm config set init-author-email "github@donavon.com"
$ npm config set init-author-url "https://donavon.com"

Disclaimer

Hoard wisely. Release any names that you really haven't used, if someone asks. Be nice!

License

MIT Licensed