Speed up your npm init

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

--

--

--

omrilotan.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Let’s Sort This Out

Building an i18n translator using React

Translated text

Union Find

Implementing Application Insight in Asp.net Web Application Demo

Angular JS

Using Tailwind.css in a Meteor project

Valorant-inspired React Website

JMeter|Proxy Configuration| Chrome Browser Settings|HSTS/HTTPS Security By Pass |Performance…

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
omrilotan

omrilotan

omrilotan.com

More from Medium

How to used setInterval in React Into Functional Component?

ReactJS And AngularJS: Which One To Choose In 2022!

ReactJS vs AngularJS — Verzeo

WEB DEV-CRUX OF THE INTERNET

Think Different: A “different” roadmap to learn coding