Skip to content

Commit 17615ca

Browse files
committed
Merge pull request #37 from avoidwork/edge
Updating README
2 parents b4cb631 + baa4450 commit 17615ca

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

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

66
## Examples
77

8-
``` js
8+
```javascript
99
filesize(500); // "3.91 Kb"
1010
filesize(500, true); // "3.9k"
1111
filesize(1500); // "1.46 KB"
1212
filesize("1500000000"); // "1.40 GB"
1313
filesize("1500000000", 0); // "1 GB"
1414
filesize(1212312421412412); // "1.08 PB"
15-
filesize(1212312421412412, true); // "1.1P" - shorthand output, similar to *nix "ls -lh"
15+
filesize(1212312421412412, true); // "1.1P" - shorthand output, similar to "ls -h"
1616
filesize(265318, 2, false) // "259.10 KB" - disabled `bit` sizes with third argument
1717
```
1818

1919
## How can I load filesize.js?
2020

2121
filesize.js supports AMD loaders (require.js, curl.js, etc.), node.js & npm (npm install filesize), or using a script tag.
2222

23-
## Information
23+
## Support
2424

25-
#### License
25+
If you're having problems with using the project, use the support forum at CodersClan.
26+
27+
<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>
28+
29+
## License
2630

2731
filesize.js is licensed under BSD-3 https://raw.github.com/avoidwork/filesize.js/master/LICENSE
2832

29-
#### Copyright
33+
## Copyright
3034

3135
Copyright (c) 2013, Jason Mulligan <[email protected]>

0 commit comments

Comments
 (0)