75lb / byte-size
Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')
☆88Updated 5 months ago
Alternatives and similar repositories for byte-size:
Users that are interested in byte-size are comparing it to the libraries listed below
- Clone a Readable stream, safely☆119Updated last year
- Run some code when the process exits☆286Updated last year
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- A stream based implementation of JSON.parse and JSON.stringify for big POJOs☆117Updated last year
- Finds the common standard cache directory☆158Updated last month
- Convert number to a human readable string: `13500` → `13.5K`☆31Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 6 months ago
- Parses every stack trace into a nicely formatted array of hashes.☆108Updated 2 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- Find the closest package.json file☆163Updated last year
- Read a chunk from a file☆122Updated 10 months ago
- get the file directory from import.meta.url☆116Updated last year
- ES Proposal spec-compliant shim for Promise.allSettled☆96Updated last year
- Parse milliseconds into an object☆119Updated last year
- Make a function mimic another one☆94Updated 6 months ago
- Get the size of a folder by recursively iterating through all its sub(files && folders).☆74Updated 5 months ago
- Sort the keys of an object☆103Updated 8 months ago
- Add an accepts parser to Fastify☆73Updated last week
- Serialize objects to JSON with handling for circular references☆156Updated 10 months ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆82Updated 5 years ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆93Updated 2 years ago
- ☆45Updated 2 months ago
- Check if a string is an IP address☆113Updated last year
- Block the main thread for a given amount of time☆124Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 11 months ago
- Forked the idea of @sole to zip a complete folder into a zip file but now using promises☆74Updated last month
- Cross-platform directory symlinking☆74Updated last week
- 🚸 Cross platform children list of a PID.☆124Updated 2 years ago
- A Node.js module for the optimized JavaScript implementation of the MurmurHash algorithms.☆97Updated last year