npm cheatsheet
I often find myself googling for the same commands every few weeks. This is a collection of theses things so I do find them quicker.
npm docs <package>
Navigate to the documentation of the given package (usually the npm or GitHub Repository)npm init -y
Quickly initialise a new npm project without answering all the quesitons. Resultingpackage.json
looks like this:
Last updated