Awesome
npm-package-example
Example of npm package.
- Create
package.json
and fillname
andversion
field. - Add your script and
main
field inpackage.json
to point the entry point. - You may want to fill
unpkg
field for browser build. - Login to npm with
npm login
command. npm publish
You will see published package on: