@leap-network/utilities
v0.7.3
Published
Shared utility functions across PoolTogether apps
Downloads
7
Readme
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
yarn add @leap-network/utilities
import * as Utils from '@leap-network/utilities'
ORimport { functionYouWantToUse } from '@leap-network/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 @leap-network/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 @leap-network/utilities
.
TODO
- moooooore tests