Home

Awesome

Rivine Typescript

JavaScript Style Guide NPM version

A Typescript library for usage in the browser

Installation

npm install rivine-ts-types

Usage

import { Parser } from 'rivine-ts-types'

const myParser = new Parser(precision)

// In case explorer/hashes is called
const parsedResponse = myParser.ParseHashResponseJSON(response, hash)

// In case explorer/blocks is called
const parsedResponse = myParser.ParseBlockResponseJSON(response)

License

MIT