75lb / byte-size
Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')
☆87Updated 3 months ago
Alternatives and similar repositories for byte-size:
Users that are interested in byte-size are comparing it to the libraries listed below
- Forked the idea of @sole to zip a complete folder into a zip file but now using promises☆74Updated this week
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 4 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- Check if a string is an IP address☆113Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Block the main thread for a given amount of time☆124Updated last year
- Convert number to a human readable string: `13500` → `13.5K`☆31Updated last year
- Find the closest package.json file☆162Updated last year
- Check if a string or buffer is SVG☆134Updated 7 months ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Sort the keys of an object☆101Updated 6 months ago
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆81Updated 5 years ago
- Gracefully shutdown fastify☆75Updated 6 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 weeks ago
- A promise based, dynamic priority queue runner, with concurrency limiting.☆65Updated 6 years ago
- Parse milliseconds into an object☆119Updated 10 months ago
- 🚸 Cross platform children list of a PID.☆124Updated 2 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- node module to check if a command-line command exists☆144Updated 2 years ago
- Make a callback- or promise-based function support both promises and callbacks.☆111Updated last year
- This utility clears your NPX cache.☆42Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- It parses the accept-language header from an HTTP request☆165Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- ESLint rule to disallow null literals☆42Updated 8 years ago
- Simple timeouts for promises☆60Updated 6 years ago
- ES Proposal spec-compliant shim for Promise.allSettled☆96Updated last year
- Run some code when the process exits☆283Updated last year
- Add an accepts parser to Fastify☆71Updated 2 weeks ago
- Read a chunk from a file☆123Updated 8 months ago