We all know
npm init, it’s the first thing we do when creating a new package.
But, all those questions are quite annoying and we gonna modify it anyway, so why not just avoid it?
npm init -y and
npm init -f to the rescue!
Another command we all use is
npm test. Most of us use it every day, several times a day.
What if I told you that you can do the same with ~40% less characters? We use it so much, so it’s a nice win.
npm t, which does exactly that!
We get to a new project and we wonder how to get started. We usually ask ourselves things like: how do we run it? which scripts are available?
... read the whole story at medium.com.