Displaying 1 to 20 from 44 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.

bytebuf - Example of how CL133375 can be utilized to mitigate Go escape analysis limitations.

  •    Go

Example of how CL133375 cmd/compile/internal/gc: handle array slice self-assign in esc.go can be utilized to mitigate Go escape analysis limitations. It shows how to fix problem described in cmd/compile, bytes: bootstrap array causes bytes.Buffer to always be heap-allocated using brand new escape analysis pattern.

File^^^Bite - File / Byte converter library

  •    Java

Simplified byte to file and vice versa conversion. Currently, available for Java only.

pretty-bytes - Convert bytes to a human readable string: 1337 → 1.34 kB

  •    Javascript

Useful for displaying file sizes for humans.Note that it uses base-10 (e.g. kilobyte). Read about the difference between kilobyte and kibibyte.




memchr - Optimized string search routines for Rust.

  •    Rust

This library provides heavily optimized routines for string search primitives. Dual-licensed under MIT or the UNLICENSE.

despacer - C library to remove white space from strings as fast as possible

  •    C

We want to remove the space (' ') and the line feeds characters ('\n', '\r') from a string as fast as possible. To avoid unnecessary allocations, we wish to do the processing in-place.Note that clang seems to give better results than gcc.


bytes.js - node byte string parser

  •    Javascript

Utility to parse a string bytes (ex: 1TB) to bytes (1099511627776) and vice-versa.Format the given value in bytes into a string. If the value is negative, it is kept as such. If it is a float, it is rounded.

node-request-progress - Tracks the download progress of a request made with mikeal/request

  •    Javascript

Tracks the download progress of a request made with request, giving insight of various metrics including progress percentage, download speed and time remaining.If the request's response does not include the content-length header, the values of some metrics will be null. Also speed and time.remaining will be null until it can be calculated.

ng-filters - Awesome generic angular filters

  •    Javascript

###percentage Returns a number formatted as a percentage. Numbers between 0 and 1 will be rounded up to 10th decimal place.I used Restangular as a template for this project as no one has yet to create a project template for new projects. The bytes filter originated from Thom Seddon before some improvements were made.

ByteSize - ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented

  •    CSharp

ByteSize is a utility class that makes byte size representation in code easier by removing ambiguity of the value being represented.ByteSize is to bytes what System.TimeSpan is to time.

file-size - Lightweight filesize to human-readable / proportions w/o dependencies for node

  •    Javascript

File-size module for node.js for converting, manipulating, and handling file-sizes. Using filesize is very easy, a lot easier if you know the Specification Table. However, it's not required to know it, and in most cases you won't need it.

speedometer - speed measurement in javascript

  •    Javascript

You can always get the current speed by calling speed().

prettysize - Helper utility to provide pretty printed file sizes

  •    Javascript

Note: as of version 1.x this module is now using some ES6+ features, if you are using this in a browser you need to transform your code so that this doesn't break.

utf8-bytes - return an array of bytes from a unicode string

  •    Javascript

This module is like Buffer(str).toJSON(), but without using Buffer.Return an array of integers from 0 through 255, inclusive, representing the bytes in the unicode string str.

go-bytesize - Utility package for working with common memory and cpu units in Go

  •    Go

Go Bytesize is a utility package for working with common multiples of bytes in Go, such as: Bytes (B), Kilobytes (KB), Megabytes (MB), Gigabytes (GB), Terabytes (TB), Petabytes (PB), Exabytes (EB), Kibibytes (Kib), Mebibytes (MiB), Gibibytes (GiB), Tebibytes (TiB), Pebibytes (PiB), and Exbibytes (EiB).This work is published under the MIT license. Please see the LICENSE file for details.






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.