@ssc-half-light/node-components

0.1.22 • Public • Published

node components

Components for node js, so you can run tests in node

install

npm install -D @ssc-half-light/node-components

test this

npm test

example

program

// 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)

createCryptoComponent

import { createCryptoComponent } from '@ssc-half-light/node-components'
// use this anywhere that expects a crypto `Implementation`
const cryptoComponent = await createCryptoComponent()

/@ssc-half-light/node-components/

    Package Sidebar

    Install

    npm i @ssc-half-light/node-components

    Weekly Downloads

    17

    Version

    0.1.22

    License

    AGPL-3.0-or-later

    Unpacked Size

    32.8 kB

    Total Files

    16

    Last publish

    Collaborators

    • nichoth