Skip to content

Commit

Permalink
Updated read me
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Apr 30, 2012
1 parent 33b074c commit 4165623
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ filesize.js provides a simple way to get a human readable file size string from

## Examples
``` js
filesize(1500); // "1.46KB"
filesize("1500000000"); // "1.40GB"
filesize("1500000000", 0); // "1GB"
filesize(1500); // "1.46KB"
filesize("1500000000"); // "1.40GB"
filesize("1500000000", 0); // "1GB"
filesize(1212312421412412) // "1102.59TB"
filesize(1212312421412412, true) // "1102.6T" - shorthand output, similar to *nix "ls -lh"
```

## Information
Expand Down

0 comments on commit 4165623

Please sign in to comment.