@area/purser-core

2.2.1-playground.alpha.0 • Public • Published

@colony/purser-core

A collection of helpers, utils, validators and normalizers to assist the individual purser modules.

Unless you want something specific found in this module, it doesn't need to be manually required as each module already makes use of it internally.

Installation

yarn add @area/purser-core

Quick Usage

import { bigNumber } from '@area/purser-core/utils'

const value = bigNumber('0.00000001').toWei();

console.log(value); // { negative: 0, words: Array(4), length: 4, red: null }

Documentation

You can find more in-depth description for this module's API in the purser docs.

Contributing

This package is part of the purser monorepo package.

Please read our Contributing Guidelines for how to get started.

License

The purser-core library along with the whole purser monorepo are MIT licensed.

Package Sidebar

Install

npm i @area/purser-core

Weekly Downloads

1

Version

2.2.1-playground.alpha.0

License

MIT

Unpacked Size

255 kB

Total Files

46

Last publish

Collaborators

  • area