file-bytes-formatter
This package will return human readable file size in Bytes, Kb, Mb, Gb, Tb, Pb, Eb, Zb, Yb
Example
For Node js
var Fsf = console
For React js
console
Output:
1.93 MB
Parameters
1.Size (Number)
This package will return human readable file size in Bytes, Kb, Mb, Gb, Tb, Pb, Eb, Zb, Yb
For Node js
var Fsf = console
For React js
console
1.93 MB
1.Size (Number)
npm i file-bytes-formatter
165
1.0.4
ISC
1.27 kB
3