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☆82Updated last year
- Run the Node.js binary no matter what☆138Updated 4 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
- Ensure a function is only called once☆162Updated last year
- 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☆78Updated 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
- Check if a namespace on npm is being hogged☆73Updated 5 years ago
- Check if your package was installed globally☆70Updated last year
- Extract the actual stack of an error☆66Updated 2 years ago
- Get PID from a port☆80Updated 4 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Create an error from multiple errors☆245Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 2 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Test driven benchmarking.☆88Updated 6 years ago
- Captures and cleans stack traces.☆193Updated last year
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆158Updated 3 years ago
- Use `await` at your Node.js code's top level!☆126Updated 7 years ago
- Compare, format, diff and serialize any JavaScript value☆207Updated 6 months ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Copy a file☆121Updated last year
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year