microprediction
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Microprediction for TypeScript/Node.js

An implementation of a Microprediction.org client using TypeScript and Node.js.

Installation

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:

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.102latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.102
1.0.82
1.0.72
1.0.61
1.0.51
1.0.41
1.0.31
1.0.21
1.0.11

Package Sidebar

Install

npm i microprediction

Weekly Downloads

12

Version

1.0.10

License

MIT

Unpacked Size

296 kB

Total Files

29

Last publish

Collaborators

  • rustyconover