How to build my own npm packages?

What I've done so far:

  • created a npmjs account
  • logged into my account with npm login
  • set up a new npm package with npm init
  • created index.js
  • published with npm publish
  • added README.md
  • used npm version <update_type> to update and publish again

Now my question is:

How do I test if my package is working correctly? Do I need to create another project and install my package and try it out there? What is the workflow for these things?

Thanks in advance!