JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 417708
  • Score
    100M100P100Q190069F
  • License MIT

Package Exports

  • @transloadit/prettier-bytes
  • @transloadit/prettier-bytes/dist/prettierBytes.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@transloadit/prettier-bytes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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