Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.

Releases: boywithkeyboard-archive/bytes-OLD

v2.1.1

10 Dec 15:14
Compare
Choose a tag to compare

Bug Fixes

  • fix exports for deno
  • exclude mod.ts from type checking

v2.1.0

10 Dec 14:01
Compare
Choose a tag to compare

New Features

  • added support for Deno

    import bytes from 'https://deno.gg/bytes'
    
    bytes('25 KB') // 25000

v2.0.0

24 Oct 15:51
Compare
Choose a tag to compare

Breaking Changes

  • you now need to use node.js v18.

New Features

  • you can now choose your desired prefix.

    import bytes from '@azury/bytes'
    
    bytes('25 KiB') // 25*1024
    bytes('25 Kibibytes') // 25*1024
    
    bytes(61217, { prefix: 'metric' }) // 61.22 KB
    bytes(61217, { prefix: 'binary' }) // 59.78 KiB
    bytes(61217) // 61.22 KB

v1.0.3

22 Aug 13:36
Compare
Choose a tag to compare

Changes

  • adjust repository in package.json

v1.0.2

22 Aug 13:27
Compare
Choose a tag to compare

Changes

  • migrate package to @azury

v1.0.1

02 Aug 13:47
Compare
Choose a tag to compare

Bug Fixes

  • add missing main field to package.json
  • remove non-existent jest.config.ts from being included in compilation

Changes

  • remove changesets
  • replace rimraf with @unvented/empty

v1.0.0

02 Aug 04:15
Compare
Choose a tag to compare

Published @unvented/bytes.