hchiam-npm-package-example
v1.0.0
Published
Package example
Downloads
7
Readme
NPM Package Example
- Edit
package.json
fields (e.g., name, version, author, description, etc.). - Makes sure the
main
field inpackage.json
points to the entry pointindex.js
. - The
unpkg
field is for browser build. - In CLI: login to NPM with
npm login
command. npm publish
Example published package:
- https://www.npmjs.com/package/hchiam-npm-package-example
- https://unpkg.com/hchiam-npm-package-example