75lb / byte-size
Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')
☆87Updated 4 months ago
Alternatives and similar repositories for byte-size:
Users that are interested in byte-size are comparing it to the libraries listed below
- Check if a string is an IP address☆113Updated last year
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 5 months ago
- Forked the idea of @sole to zip a complete folder into a zip file but now using promises☆75Updated 3 weeks ago
- Check if a string or buffer is SVG☆134Updated 8 months ago
- Parse milliseconds into an object☆119Updated 11 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- ⏱️Zero CPU overhead, zero dependency, true event-loop blocking sleep ⏱️☆82Updated 5 years ago
- Add an accepts parser to Fastify☆72Updated 2 weeks ago
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Create a deferred promise☆78Updated last year
- Block the main thread for a given amount of time☆124Updated last year
- Check if a string is a valid filename☆61Updated 3 years ago
- Check if something is a Node.js stream☆110Updated 5 months ago
- Gracefully shutdown fastify☆76Updated 7 months ago
- Convert number to a human readable string: `13500` → `13.5K`☆31Updated last year
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- 🚸 Cross platform children list of a PID.☆124Updated 2 years ago
- Check if a process is running☆58Updated 3 years ago
- Like `Promise.all()` but for `Map` and `Object`☆195Updated last year
- Find the closest package.json file☆162Updated last year
- Make a callback- or promise-based function support both promises and callbacks.☆112Updated last year
- Check if a value is a plain object☆102Updated 11 months ago
- __dirname and __filename for ES Modules environment☆68Updated 9 months ago
- An advanced url parser supporting git urls too.☆59Updated 2 weeks ago
- node module to check if a command-line command exists☆144Updated 2 years ago
- Write data to a random temporary file☆105Updated 8 months ago