npm cheatsheet
Last updated
Last updated
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.
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. Resulting package.json
looks like this: