Use Github Packages in a Nodejs project
How to use Github Package in a react/vue project
Thu Jul 15 2021
To use a package from GitHub package add the .npmrc file in the root of the project and include the dependency in package.json
.npmrc
This file tell the npm what registries you are using , along side npm registry.
//.npmrc @OWNER:registry=https://npm.pkg.github.com
Replace the OWNER with organization / user name and add install all the dependencies
npm intsall
Comments