Speed up your npm init

Speed up your npm init process by setting defaults

npm uses init-package-json package under the hood. A quick view can tell us we can set up some defaults to be picked up by it.

You can add some default configuration details for npm init in your ~/.npmrc file.

Add your personal details:

init-author-name=<FULL_NAME>
init-author-email=<EMAIL>
init-author-url=<WEBSITE>

Add your preferable license and initial version:

init-version=0.1.0
init-license=Unlicense

--

--

I woke up like this

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store