npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

For publishing NPM package

hi everyone ! i am working on react-js, i am working on a small project to create interactive educational apps for school children.I want some help to publish some reusable components on npm, i am not able to find proper instructions on internet,can anyone help me

Is it just the publish you want help with, or is the problem pulling out some of your app into a reusable component?

Right now we just need help with publishing

The short version is:

  1. create a package (a directory of source files with a package.json file)
  2. create an account on
  3. publish the package (using npm publish)

Which step are you getting lost at?

There are multiple links from here covering different aspects: