JsCommunity / human-format
Converts a number to/from a human readable string: `1337` β `1.34kB`
β100Updated 5 months ago
Alternatives and similar repositories for human-format:
Users that are interested in human-format are comparing it to the libraries listed below
- π Lightweight filesize to human-readable / proportions w/o dependencies for node.js & browsers.β233Updated 5 years ago
- Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.β152Updated 6 months ago
- Parse milliseconds into an objectβ119Updated 11 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -Bβ165Updated 5 months ago
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!β86Updated 4 years ago
- Clear a module from the cacheβ182Updated 3 years ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow β unicorn_rainbowβ239Updated 2 years ago
- node module to check if a command-line command existsβ144Updated 2 years ago
- A simple Cancelable Promiseβ158Updated last week
- Read a chunk from a fileβ122Updated 9 months ago
- [OBSOLUTE] Concatenate a readable stream's data into a single array.β101Updated 7 months ago
- An incremental implementation of MurmurHash3 for JavaScriptβ99Updated 11 years ago
- Get the hash of an objectβ134Updated last year
- Timeout a promise after a specified amount of timeβ287Updated 3 months ago
- Strip leading whitespace from each line in a stringβ137Updated 3 years ago
- β±οΈZero CPU overhead, zero dependency, true event-loop blocking sleep β±οΈβ82Updated 5 years ago
- Round a number to a specific number of decimal places: 1.234 β 1.2β155Updated last year
- Get a random temporary file pathβ79Updated 2 years ago
- Get the path of the caller moduleβ64Updated 3 years ago
- Convert an object of time properties to milliseconds: `{seconds: 2}` β `2000`β160Updated 4 years ago
- Require global npm as a local node module.β32Updated 3 years ago
- Parses every stack trace into a nicely formatted array of hashes.β108Updated 2 months ago
- JavaScript implementation of the "accept" attribute for HTML5 input elementβ114Updated 4 months ago
- Cross-platform .zip file creationβ130Updated last year
- Simple async unzip library for Node.jsβ61Updated 2 years ago
- Constant-time comparison algorithm to prevent timing attacksβ27Updated last year
- Move a file - Even works across devicesβ199Updated last year
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.β153Updated last year
- Deep copy objects and arraysβ35Updated 7 years ago
- Check if a string is an IP addressβ113Updated last year