We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33b074c commit 4165623Copy full SHA for 4165623
README.md
@@ -3,9 +3,11 @@ filesize.js provides a simple way to get a human readable file size string from
3
4
## Examples
5
``` js
6
-filesize(1500); // "1.46KB"
7
-filesize("1500000000"); // "1.40GB"
8
-filesize("1500000000", 0); // "1GB"
+filesize(1500); // "1.46KB"
+filesize("1500000000"); // "1.40GB"
+filesize("1500000000", 0); // "1GB"
9
+filesize(1212312421412412) // "1102.59TB"
10
+filesize(1212312421412412, true) // "1102.6T" - shorthand output, similar to *nix "ls -lh"
11
```
12
13
## Information
0 commit comments