sb-utils
v1.0.0
Published
Utils
Readme
SB Utils
How to use
First of all you should add sb-utils to you project:
npm i sb-utilsAnd then fill free to use a convert utility, which is responsible for converting an array of N shares represented as N rational into a percentage:
const convert = require('sb-utils').convert;
const result = convert(['1.5', '3', '6', '1.5',])result will have ['12.500', '25.000', '50.000', '12.500'].
