@binary-owls/sdk-node
v2.1.0
Published
JavaScript helpers with TypeScript
Downloads
33
Readme
Node SDK
Useful for any backend or frontend JavaScript or TypeScript project.
Usage
pnpm install @binary-owls/sdk-node
Maintain
Maintain: Unit Tests
First, it's easiest to use the Jetbrains Debugger to run individual unit tests.
But you can also test via CLI:
pnpn run test
Publish to NPM
# Log in to npmjs.org
npm login
# NOTE the built files is the main publication, not the TS source
pnpm run build
# 1. Edit version in package.json
# 2. Run publish
# NOTE: yarn publish has issues with auto-committing, and running `npm publish` as a yarn command also has issues, so we need to just run this raw:
pnpm run publ
# You will be prompted for the new semver.
# Then if publication is successful, package.json will automatically have its `"version"` updated
git add --all
git commit
Optional:
# Remove a specific package version
npm unpublish @binary-owls/[email protected]