$ npm install @transloadit/prettier-bytes
Even though this module is publicly accessible, we do not recommend using it in projects outside of Transloadit. We won't make any guarantees about its workings and can change things at any time, we won't adhere strictly to SemVer.
This module is maintained from a monorepo called monolib.
Adapted from https://github.com/Flet/prettier-bytes/ Changing 1000 bytes to 1024, so we can keep uppercase KB vs kB ISC License (c) Dan Flettre https://github.com/Flet/prettier-bytes/blob/master/LICENSE
© 2010 - cnpmjs.org x YWFE | Home | YWFE