Skip to content

Commit 4165623

Browse files
committed
Updated read me
1 parent 33b074c commit 4165623

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ filesize.js provides a simple way to get a human readable file size string from
33

44
## Examples
55
``` js
6-
filesize(1500); // "1.46KB"
7-
filesize("1500000000"); // "1.40GB"
8-
filesize("1500000000", 0); // "1GB"
6+
filesize(1500); // "1.46KB"
7+
filesize("1500000000"); // "1.40GB"
8+
filesize("1500000000", 0); // "1GB"
9+
filesize(1212312421412412) // "1102.59TB"
10+
filesize(1212312421412412, true) // "1102.6T" - shorthand output, similar to *nix "ls -lh"
911
```
1012

1113
## Information

0 commit comments

Comments
 (0)