# powco

> Stable Bitcoin & Boostpow Utilities

Latest version **1.2.2** (published 2022-12-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install powco
pnpm add powco
yarn add powco
bun add powco
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.2 |
| Published | 2022-12-20 |
| First published | 2022-08-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 11.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | stevenzeiler |

## Links

- npm: https://www.npmjs.com/package/powco
- npm.io page: https://npm.io/package/powco

## Dependencies (3)

- [run-sdk](https://npm.io/package/run-sdk.md) ^0.6.40
- [boostpow](https://npm.io/package/boostpow.md) ^1.8.1
- [socket.io-client](https://npm.io/package/socket.io-client.md) ^4.5.1

## Recent versions

- 1.2.2 (latest) — 2022-12-20
- 1.2.1 — 2022-12-20
- 1.2.0 — 2022-08-04
- 1.1.1 — 2022-08-02
- 1.1.0 — 2022-08-02
- 1.0.1 — 2022-08-02
- 1.0.0 — 2022-08-02

## README

# powco

`npm install --save powco`

## Stream Boostpow Transactions

```
import { Job, Proof } from 'boostpow'

import { stream } from 'powco'

stream.on('boostpow.job', (job: Job) => {

  console.log('boostpow.job', job)

})

stream.on('boostpow.proof', (proof: Proof) => {

  console.log('boostpow.proof', proof)

})

```

## Broadcast Transaction

```
import { broadcast } from 'powco'

const txid = await broadcast(txhex)

```

## Fetch Transaction

```
import { fetch } from 'powco'

const txhex = await fetch(txid)

```

---
_Source: https://npm.io/package/powco · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
