js-essentials-kit
v0.1.0
Published
A small JavaScript utility package.
Readme
js-tool
A tiny example JavaScript package scaffold.
Quick start
- Install dependencies (none for this scaffold):
# optional
npm install- Run tests:
npm testPublishing to npm
- Make sure you have an npm account: https://www.npmjs.com/
- Log in locally:
npm loginIf you want this package to be public (required for scoped packages), ensure package.json has "private": false (or omit "private").
Publish:
npm publishIf your package name is scoped (e.g. @your-scope/js-tool) and you want it public, run:
npm publish --access publicNotes:
- If you have 2FA enabled on your npm account you'll be prompted for an OTP during publish.
- Update the
versionfield inpackage.jsonbefore republishing (npm requires new versions). - Consider adding CI (GitHub Actions) to automate tests and publishing on tags.
