Publishing a Javascript Project In NPM & GithubProjects @ The same time

Hi All,

Well i am new to github packages. and i am not sure whats the best process.
as of now i publish all my javascript packages in npmjs.com .

i would love to use Github Packages. but my question here is

Should i publish a single package in both package managers ?

  1. Github Packages
  2. NPM

is that a good process ?

Should i publish a single package in both package managers ?

You should publish public packages to both GitHub and npm.

Try something like this:

npm publish --registry=https://npm.pkg.github.com
npm publish --registry=https://registry.npmjs.org