Bytes
bytes
parse a string bytes <=> bytes
bytes
is a sweet little util that helps in parsing a string bytes (ex: 1TB) to bytes (1099511627776) and vice-versa.
Get it: npm install --save bytes
Sample usage:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Supported units and abbreviations:
1 2 3 4 5 |
|
GIF FTW!