filesize.js

  150 downloads
3.1.2 BSD License
5.0/5 2
An open source JavaScript library for converting normal file size & value display standards to a more human-friendly readable format

description

download

specifications

changelog

Filesize.js converts a raw file size value from bits to other more accessible formats.

So instead of seeing a file size value like 1500000000, a developer/reader can see it as 1.40GB instead.

This technique is considered a UX (user experience) recommended practice and should be used whenever possible.

As you can realize by yourself, usage implementations are endless.

The developer has access to some customization options:
- Enable bit sizes
- Enable Unix human readable format
- Set number base system
- Decimal place size
- Customize the spacers
- Customize the suffixes
read more   
Last updated on February 28th, 2015

0 User reviews so far.

SUBMIT