0.1.0 • Published 10 months ago

@gandlaf21/nmc v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

NMC - Nostr mint connect

Cashu-ts plugin for connecting to mints via nostr

Get Started

  1. Run npm install in your terminal
  2. Then run npm run build
  3. Sign in to your npm account in your terminal with npm login
  4. Run npm publish --access=public to publish your package

Testing

  1. Install developer dependencies using the following command in your terminal npm i -D typescript @types/node
  2. Create a tests folder
  3. Create an index.test.ts file in the tests folder
  4. Write unit tests in the index.test.ts file to test the code in index.ts
  5. Add a "test" property in the package.json file "scripts" object and give it a value of "node --experimental-strip-types --test"
  6. Run npm test in your terminal from the root folder of the project