75lb / byte-sizeLinks
Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')
☆89Updated 6 months ago
Alternatives and similar repositories for byte-size
Users that are interested in byte-size are comparing it to the libraries listed below
Sorting:
- Sort the keys of an object☆103Updated 9 months ago
- Check if a string or buffer is SVG☆136Updated this week
- Parse milliseconds into an object☆119Updated last year
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Convert number to a human readable string: `13500` → `13.5K`☆31Updated last year
- Forked the idea of @sole to zip a complete folder into a zip file but now using promises☆75Updated 3 months ago
- Clone a Readable stream, safely☆119Updated last year
- Wordwrap a string with ANSI escape codes☆125Updated last year
- Parses every stack trace into a nicely formatted array of hashes.☆109Updated 4 months ago
- Recursively mkdir, like `mkdir -p`, but in node.js☆194Updated last year
- 🚸 Cross platform children list of a PID.☆125Updated 2 years ago
- Filter object keys and values into a new object☆101Updated last year
- A plugin to provide access to the raw URL components☆58Updated last month
- 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
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- A Fastify plugin to parse x-www-form-urlencoded bodies☆133Updated last month
- Detects if a file is binary in Node.js. Similar to Perl's -B☆166Updated 8 months ago
- Find the closest package.json file☆164Updated 2 weeks ago
- Make a callback- or promise-based function support both promises and callbacks.☆112Updated last year
- Check whether a request can be retried based on the `error.code`☆81Updated 3 years ago
- __dirname and __filename for ES Modules environment☆69Updated 11 months ago
- ES Proposal spec-compliant shim for Promise.allSettled☆97Updated last year
- Check if a Buffer/Uint8Array is a PNG image☆47Updated 2 years ago
- Gracefully shutdown fastify☆78Updated 9 months ago
- Check if a string is a valid filename☆62Updated 3 years ago
- Get a random item from an array☆57Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Check if a string is an IP address☆113Updated last year
- Add an accepts parser to Fastify☆74Updated last month