Reliably get the terminal window size
☆147Feb 2, 2026Updated 5 months ago
Alternatives and similar repositories for terminal-size
Users that are interested in terminal-size are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Reliably get the terminal window size - cross-platform☆27Nov 4, 2023Updated 2 years ago
- Check if an Iterable is empty☆23Sep 14, 2025Updated 9 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 5 months ago
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 7 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 10 months ago
- Truncate a string to a specific width in the terminal☆94Jun 28, 2026Updated last week
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Jul 8, 2022Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get the terminal window size on Windows☆13Nov 4, 2023Updated 2 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Lax URL parsing with support for protocol-less URLs and IPs☆55Sep 7, 2025Updated 10 months ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 5 months ago
- Repeat a string - fast☆35May 3, 2021Updated 5 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Run the Node.js binary no matter what☆142Sep 15, 2025Updated 9 months ago
- 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.
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 4 years ago
- Wait for a specified number of promises to be fulfilled☆40Sep 11, 2025Updated 9 months ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 5 years ago
- Decompress a HTTP response if needed☆76Oct 13, 2025Updated 8 months ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated 2 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 10 months ago
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Check if a value is an object☆42Apr 16, 2021Updated 5 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 5 months ago
- Count the number of lines in a string☆10Apr 17, 2016Updated 10 years ago
- Regular expression for matching a shebang line☆48Aug 13, 2021Updated 4 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Feb 2, 2026Updated 5 months ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago