Components for node js, so you can run tests in node
npm install -D @ssc-half-light/node-components
npm test
// this runs in node js
import { components } from '@ssc-half-light/node-components'
import * as odd from '@oddjs/odd'
const program = await odd.assemble({
namespace: { creator: 'test', name: 'testing' },
debug: false // must be false
}, components)
import { createCryptoComponent } from '@ssc-half-light/node-components'
// use this anywhere that expects a crypto `Implementation`
const cryptoComponent = await createCryptoComponent()