JsCommunity / human-format
Converts a number to/from a human readable string: `1337` ↔ `1.34kB`
☆98Updated 2 months ago
Alternatives and similar repositories for human-format:
Users that are interested in human-format are comparing it to the libraries listed below
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 2 months ago
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆86Updated 4 years ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- 📂 Lightweight filesize to human-readable / proportions w/o dependencies for node.js & browsers.☆232Updated 4 years ago
- Parses every stack trace into a nicely formatted array of hashes.☆107Updated last month
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆109Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.☆150Updated 3 months ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- A simple Cancelable Promise☆157Updated this week
- Sort the keys of an object☆102Updated 4 months ago
- tiny library to get timezone offsets for any IANA timezone using Intl☆23Updated 6 months ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- A function to get the scrolling parent of a html element.☆58Updated last year
- Parse and stringify the HTML <img> srcset attribute☆138Updated 11 months ago
- Simple async unzip library for Node.js☆60Updated 2 years ago
- Get the hash of an object☆134Updated last year
- Levenshtein edit distance☆69Updated 2 years ago
- Timeout a promise after a specified amount of time☆278Updated 2 weeks ago
- A Map implementation with expirable items☆92Updated 2 years ago
- Check if a string or buffer is SVG☆131Updated 5 months ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- This module adds [Server-Timing](https://www.w3.org/TR/server-timing/) to response headers, see [example](https://server-timing.now.sh/) …☆124Updated this week
- Make a callback- or promise-based function support both promises and callbacks.☆113Updated last year
- Clear a module from the cache☆181Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Delay a promise a minimum amount of time☆165Updated last year
- Use any Yeoman generator with "npm init"☆46Updated 2 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year