Displaying 1 to 4 from 4 results

filesize.js - JavaScript library to generate a human readable String describing the file size

  •    Javascript

filesize.js provides a simple way to get a human readable file size string from a number (float or integer) or string. filesize() accepts an optional descriptor Object as a second argument, so you can customize the output.

postcss-ant - Size-getting function masquerading as a grid system.

  •    Javascript

Superpowered size-getter and grid generator. You can use postcss-ant anywhere you can use PostCSS: CLI, Webpack, Gulp, Rollup, Grunt, etc.

bitmath - Python module for representing file sizes with different prefix notations

  •    Python

In addition to the conversion and math operations, bitmath provides human readable representations of values which are suitable for use in interactive shells as well as larger scripts and applications. The format produced for these representations is customizable via the functionality included in stdlibs string.format. In discussion we will refer to the NIST units primarily. I.e., instead of "megabyte" we will refer to "mebibyte". The former is 10^3 = 1,000,000 bytes, whereas the second is 2^20 = 1,048,576 bytes. When you see file sizes or transfer rates in your web browser, most of the time what you're really seeing are the base-2 sizes/rates.

canvas-image-cover-position - Calculating image position for scaling it on the canvas.

  •    HTML

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap. Feel free to contribute.









We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.