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
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Lazy number range generator☆81Updated last year
- Convenience wrapper for Got to interact with the GitHub API☆177Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Check if it's the first time the process is run☆78Updated 3 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Toggle the CLI cursor☆107Updated 9 months ago
- Block users from running your app with root permissions☆98Updated last year
- Create an error from multiple errors☆245Updated last year
- Check if a namespace on npm is being hogged☆73Updated 5 years ago
- Write data to a random temporary file☆105Updated 9 months ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Indent each line in a string☆113Updated 2 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 8 months ago
- Captures and cleans stack traces.☆194Updated last year
- Copy a file☆120Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Get PID from a port☆79Updated 4 years ago
- Create a hash for file revving☆105Updated last year
- Simplified high resolution timing☆81Updated 7 months ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆83Updated 8 months ago
- when you want to fire an event no matter how a process exits.☆191Updated last year