# microprediction

> A client for microprediction.org

Latest version **1.0.10** (published 2021-06-15) · MIT license · 0 weekly downloads

## Install

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

## 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.0.10 |
| Published | 2021-06-15 |
| First published | 2020-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 289.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rusty Conover |
| Maintainers | rustyconover |

## Links

- npm: https://www.npmjs.com/package/microprediction
- Repository: https://github.com/rustyconover/microprediction-node
- Homepage: https://github.com/rustyconover/microprediction-node#readme
- Issues: https://github.com/rustyconover/microprediction-node/issues
- npm.io page: https://npm.io/package/microprediction

## Dependencies (9)

- [bent](https://npm.io/package/bent.md) ^7.3.12
- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [webpack](https://npm.io/package/webpack.md) ^5.39.0
- [ts-loader](https://npm.io/package/ts-loader.md) ^9.2.3
- [@types/bent](https://npm.io/package/@types/bent.md) ^7.3.2
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^4.7.2
- [builtin-modules](https://npm.io/package/builtin-modules.md) ^3.2.0
- [querystring-es3](https://npm.io/package/querystring-es3.md) ^0.2.1
- [crypto-browserify](https://npm.io/package/crypto-browserify.md) ^3.12.0

## Recent versions

- 1.0.10 (latest) — 2021-06-15
- 1.0.8 — 2020-12-27
- 1.0.7 — 2020-12-27
- 1.0.6 — 2020-12-19
- 1.0.5 — 2020-09-01
- 1.0.4 — 2020-09-01
- 1.0.3 — 2020-08-24
- 1.0.2 — 2020-08-24
- 1.0.1 — 2020-08-24

## README

# Microprediction for TypeScript/Node.js

An implementation of a [Microprediction.org](https://microprediction.org) client using TypeScript and Node.js.

## Installation

```sh
npm install microprediction
```

## Usage

The code in `test/test.js` tests all of the usage of MicroReader and
MicroWriter.

An example to retrieve the latest value of a stream:

```js
let reader: MicroReader;
let config: MicroReaderOptions;
const test_stream_name = "South_Australia_Electricity_Price.json";
config = await MicroReaderConfig.create({});
reader = new MicroReader(config);

const result = await reader.get_current_value(test_stream_name);
```

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