Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azury/bytes

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azury/bytes - npm Package Versions

2.1.1

Diff

Changelog

Source

v2.1.1

Bug Fixes

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

Changelog

Source

v2.1.0

New Features

  • added support for Deno

    import bytes from 'https://deno.gg/bytes'
    
    bytes('25 KB') // 25000
    
unvented
published 2.0.0 •

Changelog

Source

v2.0.0

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
    
unvented
published 1.0.3 •

unvented
published 1.0.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc