Since npm is a part of Github now, you can publish an npm package with Github. Let’s learn how to do that in this blog. Step 1: Create a Personal Access Token Create a personal access token from Github settings Step: 2 Create a .npmrc file Create a new ~/.npmrc file if one doesn’t exist, and add