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
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Lazy number range generator☆81Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Block users from running your app with root permissions☆98Updated 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
- Get namespaced config from the closest package.json☆121Updated last year
- Toggle the CLI cursor☆107Updated 8 months ago
- Check if your package was installed globally☆70Updated last year
- Ensure a function is only called once☆162Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Extract the actual stack of an error☆66Updated 2 years ago
- Copy a file☆120Updated last year
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Check if a namespace on npm is being hogged☆73Updated 5 years ago
- Get PID from a port☆79Updated 4 years ago
- Write data to a random temporary file☆105Updated 8 months ago
- Brace expansion, as known from sh/bash, in JavaScript☆186Updated last year
- Exit the process when the `esc` key is pressed☆56Updated last year
- Use `await` at your Node.js code's top level!☆126Updated 7 years ago
- Scan npm for available package names☆101Updated 4 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Clean up regular expressions☆62Updated 7 months ago
- when you want to fire an event no matter how a process exits.☆191Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Hook and modify stdout and stderr☆54Updated 2 years ago