1.0.0 • Published 3 years ago
crypto-style v1.0.0
Easy way to display amounts in crytpo currency format
Installation
$ npm i crypto-style
Usage
const cs = require('crypto-style');
or in ES6:
import cs from 'crypto-style';
Examples
cs(0.100); // 0.10000000
cs(200.2, 5); // 200.20000
cs(0.500, 10); // 0.5000000000
1.0.0
3 years ago