0.0.2 • Published 2 years ago
sdrv v0.0.2
#sdrv
##install
npm i sdrv
##usage,Tools for special needs
import { separator } from "sdrv";
// add separator
separator({
value: -111111.6543,
n: 4, // default n = 3
});
// -11,1111.6543
// hide something
import { hideStr } from "sdrv";
hideStr({ value: 11111 });
// **,111
other: unitByByte, unitByBit, unitToChinese, ...