Home

Awesome

npm-package-example

Example of npm package.

  1. Create package.json and fill name and version field.
  2. Add your script and main field in package.json to point the entry point.
  3. You may want to fill unpkg field for browser build.
  4. Login to npm with npm login command.
  5. npm publish

You will see published package on: