sindresorhus / terminal-size
Reliably get the terminal window size
☆140Updated last year
Alternatives and similar repositories for terminal-size:
Users that are interested in terminal-size are comparing it to the libraries listed below
- Lazy number range generator☆81Updated last year
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Truncate a string to a specific width in the terminal☆86Updated last year
- Check if a namespace on npm is being hogged☆73Updated 5 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Create an error from multiple errors☆245Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Check if it's the first time the process is run☆78Updated 3 years ago
- Ensure a function is only called once☆162Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 5 months ago
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Toggle the CLI cursor☆106Updated 6 months ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Get PID from a port☆80Updated 4 years ago
- Get a progress bar as a string☆96Updated 7 years ago
- Scan npm for available package names☆101Updated 4 years ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Clean up regular expressions☆62Updated 6 months ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year