0.5.0 • Published 6 years ago
@kosu/node-client v0.5.0
Node Client
A TypeScript/JavaScript library for interacting with the Kosu order relay network.
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-clientNPM:
npm install --save @kosu/node-clientImport
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 linkLinting
The TypeScript source can be linted with:
yarn lintBuilding
Build the TypeScript source to distributable JavaScript (CommonJS) as well as source mappings and typing files with:
yarn buildLicense
Open-source software, MIT licensed.
Copyright (c) 2019 Paradigm Labs, corp.