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

filesize

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filesize - npm Package Compare versions

Comparing version 1.9.4 to 1.9.5

2

lib/filesize.js

@@ -9,3 +9,3 @@ /**

* @module filesize
* @version 1.9.4
* @version 1.9.5
*/

@@ -12,0 +12,0 @@ ( function ( global ) {

{
"name": "filesize",
"description": "JavaScript library to generate a human readable String describing the file size",
"version": "1.9.4",
"version": "1.9.5",
"homepage": "http://filesizejs.com",

@@ -6,0 +6,0 @@ "author": {

@@ -8,3 +8,3 @@ [![build status](https://secure.travis-ci.org/avoidwork/filesize.js.png)](http://travis-ci.org/avoidwork/filesize.js)

``` js
```javascript
filesize(500); // "3.91 Kb"

@@ -16,3 +16,3 @@ filesize(500, true); // "3.9k"

filesize(1212312421412412); // "1.08 PB"
filesize(1212312421412412, true); // "1.1P" - shorthand output, similar to *nix "ls -lh"
filesize(1212312421412412, true); // "1.1P" - shorthand output, similar to "ls -h"
filesize(265318, 2, false) // "259.10 KB" - disabled `bit` sizes with third argument

@@ -25,10 +25,14 @@ ```

## Information
## Support
#### License
If you're having problems with using the project, use the support forum at CodersClan.
<a href="http://codersclan.net/forum/index.php?repo_id=11"><img src="http://www.codersclan.net/graphics/getSupport_blue_big.png" width="160"></a>
## License
filesize.js is licensed under BSD-3 https://raw.github.com/avoidwork/filesize.js/master/LICENSE
#### Copyright
## Copyright
Copyright (c) 2013, Jason Mulligan <jason.mulligan@avoidwork.com>

Sorry, the diff of this file is not supported yet

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