@kosu/node-client
JavaScript module for connecting interacting with the Kosu JSONRPC.
Last updated a year ago by paradigm-labs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @kosu/node-client 
SYNC missed versions from official npm registry.

Node Client

A TypeScript/JavaScript library for interacting with the Kosu order relay network.

View the documentation here.

Installation

The Node Client can be installed into your project through yarn or npm, and can be passed through webpack or browserify for usage in the browser.

Install

Yarn:

yarn add @kosu/node-client

NPM:

npm install --save @kosu/node-client

Import

Kosu and its exported classes can be imported directly into TypeScript or JavaScript projects.

TypeScript (and ES6+):

// top-level Kosu class
import { NodeClient } from "@kosu/node-client";

JavaScript (CommonJS):

const { NodeClient } = require("@kosu/node-client");

Development

@todo: add contribution guidelines summary and link

Linting

The TypeScript source can be linted with:

yarn lint

Building

Build the TypeScript source to distributable JavaScript (CommonJS) as well as source mappings and typing files with:

yarn build

License

Open-source software, MIT licensed.

Copyright (c) 2019 Paradigm Labs, corp.

Current Tags

  • 0.5.0                                ...           latest (a year ago)

2 Versions

  • 0.5.0                                ...           a year ago
  • 0.3.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |