@gandlaf21/nmc
v0.1.0
Published
NMC - Nostr mint connect
Maintainers
Readme
NMC - Nostr mint connect
Cashu-ts plugin for connecting to mints via nostr
Get Started
- Run
npm installin your terminal - Then run
npm run build - Sign in to your npm account in your terminal with
npm login - Run
npm publish --access=publicto publish your package
Testing
- Install developer dependencies using the following command in your terminal
npm i -D typescript @types/node - Create a
testsfolder - Create an
index.test.tsfile in thetestsfolder - Write unit tests in the
index.test.tsfile to test the code inindex.ts - Add a
"test"property in thepackage.jsonfile"scripts"object and give it a value of"node --experimental-strip-types --test" - Run
npm testin your terminal from the root folder of the project
