Socket
Socket
Sign inDemoInstall

filesize

Package Overview
Dependencies
0
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
810
12Next

3.1.3

Diff

Changelog

Source

3.1.3

27 July 2015

avoidwork
published 3.1.2 •

Changelog

Source

3.1.2

27 February 2015

  • Removing unneeded nesting of conditionals a4448cd
avoidwork
published 3.1.1 •

Changelog

Source

3.1.1

24 February 2015

  • Updating to transpiler to babel 4.0.0, reformatting some statements for readability, moving consts to the top of the lib fc3714f
  • Updating travis file 4fd4373
avoidwork
published 3.1.0 •

Changelog

Source

3.1.0

4 February 2015

  • Add a Gitter chat badge to README.md #60
  • Refactored to ES6, with transpiling to ES5 f214346
  • Update README.md db1df8e
  • Added Gitter badge 905c6b5
avoidwork
published 3.0.2 •

Changelog

Source

3.0.2

29 January 2015

  • Fixing an error in exponent calculation such that ceil is utilized & added two tests, fixes #59 #59
avoidwork
published 3.0.1 •

Changelog

Source

3.0.1

12 January 2015

  • Adding the ability to specify the exponent used for determining the file size, and adding exponent as an output value (feature request by email) 0af5ea1
avoidwork
published 3.0.0 •

Changelog

Source

3.0.0

4 January 2015

  • Composer support #58
  • Refactoring filesize() to output Array & Object shapes, & changing default base to 2, reformatting code based on IDE settings (not included) a7fe91b
  • add composer.json f53152d
avoidwork
published 2.0.4 •

Changelog

Source

2.0.4

2 October 2014

  • Fixes #55 by avoiding type mutation, fixing CI tests by removing node 0.8.x #55
avoidwork
published 2.0.3 •

Changelog

Source

2.0.3

28 February 2014

  • Minor change #53
  • Adding exabyte, zettabyte, yottabyte, exabit, zettabit, & yottabit sizes fd448ab
avoidwork
published 2.0.2 •

Changelog

Source

2.0.2

28 February 2014

  • Removing a file #52
  • Optimizations #51
  • Changing the method of generating result 98f34a1
  • Generating a String instead of an Array for 'unix mode' 7e46fd9
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc