sindresorhus / terminal-size
Reliably get the terminal window size
☆141Updated 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
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Run the Node.js binary no matter what☆138Updated 4 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
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Block users from running your app with root permissions☆98Updated last year
- Get PID from a port☆79Updated 4 years ago
- Copy a file☆121Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Create an error from multiple errors☆245Updated last year
- Check if it's the first time the process is run☆78Updated 3 years ago
- Check when the DOM has loaded like `DOMContentLoaded`☆109Updated 6 months ago
- Check if your package was installed globally☆70Updated last year
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Toggle the CLI cursor☆107Updated 7 months ago
- Write data to a random temporary file☆105Updated 7 months ago
- Create a hash for file revving☆105Updated last year
- Check if a namespace on npm is being hogged☆73Updated 5 years ago
- Get a progress bar as a string☆95Updated 7 years ago
- Simplified high resolution timing☆79Updated 6 months ago
- Define a lazily evaluated property on an object☆64Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Ensure a function is only called once☆162Updated last year
- Extract the actual stack of an error☆66Updated 2 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year