`npm install`
# Unittests
`npm run test`
# Build
`npm run build`
# React app
It's important this works in a React app with typescript, therefore, somewhere in a temp folder:
1. `npx create-react-app my-ecash-app --template typescript`
2. `cd my-ecash-app`
3. `npm install --save /my/path/to/bitcoin-abc/modules/ecash-lib`
4. Add to App.tsx: `import * as ecash from 'ecash-lib'; console.log(ecash);`
5. `npm start`
6. In the browser, it should now log a "Module" with "Bytes", "Script", "Tx", ...
# Deno
Having deno too work would be great:
1. `mydeno.ts`: `import * as ecash '/my/path/to/bitcoin-abc/modules/ecash-lib/dist/index.js'; console.log(ecash);`
2. `deno run mydeno.ts`