@chanceprotocol/utilities
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

PoolTogether utilities

A collection of various utility functions used across the PoolTogether applications.

NOTE

Make sure you keep peerDependencies and devDependencies versions in sync!

How to use

  1. yarn add @chanceprotocol/utilities
  2. import * as Utils from '@chanceprotocol/utilities' OR import { functionYouWantToUse } from '@chanceprotocol/utilities'

Local development

Local development works best with yalc yarn global add yalc

In pooltogether-utilities: yarn start

In the app you're importing pooltogether-utilities: yalc link @chanceprotocol/utilities

When you save changes inside the utilities src folder, the package will rebuild and be pushed to all other projects that have run yalc link @chanceprotocol/utilities.

TODO:

  • moooooore tests

Readme

Keywords

none

Package Sidebar

Install

npm i @chanceprotocol/utilities

Weekly Downloads

0

Version

0.7.0

License

MIT

Unpacked Size

426 kB

Total Files

29

Last publish

Collaborators

  • chanceprotocol