Convert bytes to a human readable string: 1337 → 1.34 kB
☆1,310Sep 18, 2026Updated this week
Alternatives and similar repositories for pretty-bytes
Users that are interested in pretty-bytes are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`☆1,215Updated this week
- Process execution for humans☆7,609Jul 31, 2026Updated last month
- Type check values☆1,794Updated this week
- A lightweight, high-performance file size utility that converts bytes to human-readable strings. Zero dependencies. 100% test coverage.☆1,709Updated this week
- Normalize a URL☆882Jul 21, 2026Updated 2 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- User-friendly glob matching☆2,649Aug 19, 2026Updated last month
- Convert a string to a valid safe filename☆525Aug 28, 2026Updated 3 weeks ago
- Tiny millisecond conversion utility☆5,553May 20, 2026Updated 4 months ago
- Access the system clipboard (copy/paste)☆1,983Jul 23, 2026Updated last month
- Get the gzipped size of a string or buffer☆173Updated this week
- Detect the file type of a file, stream, or data☆4,326Updated this week
- Promisify a callback-style function☆1,501Updated this week
- A better `npm publish`☆7,712Sep 9, 2026Updated last week
- Get an available TCP port☆929Updated this week
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Copy files☆438Sep 1, 2026Updated 3 weeks ago
- Open stuff like URLs, files, executables. Cross-platform.☆3,508Sep 14, 2026Updated last week
- Elegant terminal spinner☆9,751Updated this week
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆253Updated this week
- Find a file or directory by walking up parent directories☆643Updated this week
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,165Updated this week
- Update notifications for your CLI app☆1,808Jul 25, 2026Updated last month
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated this week
- Get the first path that exists on disk of multiple paths☆64Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,165Updated this week
- 🌐 Human-friendly and powerful HTTP request library for Node.js☆14,945Updated this week
- Delete files and directories☆1,343Jul 21, 2026Updated 2 months ago
- See node.js errors with less clutter☆1,522Jun 16, 2024Updated 2 years ago
- node byte string parser☆474Jul 5, 2024Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆186Updated this week
- Simple and modern async event emitter☆2,074Updated this week
- Delay a promise a specified amount of time☆623Updated this week
- Make a directory and its parents if needed - Think `mkdir -p`☆480Updated this week
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Create boxes in the terminal☆1,675Updated this week
- Check if a path exists☆154Updated this week
- Simple “Least Recently Used” (LRU) cache☆770Updated this week
- Simple micro templating☆372Updated this week
- Unicode symbols with fallbacks for older terminals☆633Updated this week
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆143Updated this week
- Import a module like with `require()` but from a given path☆85Updated this week