How to update a NPM package

You do it very simply, just like so:

  1. make changes in your code, git commit and git push them
  2. up version of the npm package npm version major, npm version minor or npm version patch
  3. publish with npm publish
  4. you’re done 😎