# @ssc-half-light/node-components

> `odd` components for Node environment, mostly for testing

Latest version **0.1.22** (published 2024-02-17) · AGPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @ssc-half-light/node-components
pnpm add @ssc-half-light/node-components
yarn add @ssc-half-light/node-components
bun add @ssc-half-light/node-components
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.22 |
| Published | 2024-02-17 |
| First published | 2024-01-15 |
| Weekly downloads | 0 |
| License | AGPL-3.0-or-later |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 32 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | nichoth |
| Maintainers | nichoth |
| Keywords | fission, odd, test, components |

## Links

- npm: https://www.npmjs.com/package/@ssc-half-light/node-components
- Repository: https://github.com/ssc-half-light/node-components
- Homepage: https://github.com/ssc-half-light/node-components#readme
- Issues: https://github.com/ssc-half-light/node-components/issues
- npm.io page: https://npm.io/package/@ssc-half-light/node-components

## Dependencies (2)

- [@oddjs/odd](https://npm.io/package/@oddjs/odd.md) ^0.37.0
- [localforage](https://npm.io/package/localforage.md) ^1.10.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 0.1.22 (latest) — 2024-02-17
- 0.1.20 — 2024-01-22
- 0.1.19 — 2024-01-15

## README

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

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

## test this
```bash
npm test
```

## example

### program

```js
// 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

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

---
_Source: https://npm.io/package/@ssc-half-light/node-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
