75lb / byte-size
Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')
☆75Updated 4 months ago
Related projects ⓘ
Alternatives and complementary repositories for byte-size
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated last month
- Parse milliseconds into an object☆119Updated 6 months ago
- A stream based implementation of JSON.parse and JSON.stringify for big POJOs☆114Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Command line search and replace utility☆61Updated 2 years ago
- Check if a string or buffer is SVG☆131Updated 3 months ago
- Check if a string is an IP address☆113Updated last year
- Filter object keys and values into a new object☆100Updated 5 months ago
- Clone a Readable stream, safely☆119Updated 9 months ago
- Check if a string is a valid filename☆59Updated 3 years ago
- node module to check if a command-line command exists☆144Updated last year
- 🚸 Cross platform children list of a PID.☆124Updated last year
- node byte string parser☆461Updated 4 months ago
- Read a chunk from a file☆122Updated 4 months ago
- Parses every stack trace into a nicely formatted array of hashes.☆105Updated last year
- Make a function mimic another one☆91Updated 3 weeks ago
- Run some code when the process exits☆283Updated last year
- __dirname and __filename for ES Modules environment☆67Updated 4 months ago
- Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow☆238Updated 2 years ago
- Check if a process is running☆58Updated 3 years ago
- Forked the idea of @sole to zip a complete folder into a zip file but now using promises☆71Updated 2 weeks ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- 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…☆91Updated last year
- Serialize objects to JSON with handling for circular references☆149Updated 5 months ago
- Check if something is a Node.js stream☆111Updated 3 weeks ago
- Generate a regex from a string or array of strings.☆58Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 6 months ago
- locale code based on ISO-639-1 and ISO-3166-1☆36Updated last year
- Find the closest package.json file☆159Updated last year
- Convert number to a human readable string: `13500` → `13.5K`☆31Updated last year