sindresorhus / terminal-sizeLinks
Reliably get the terminal window size
☆144Updated last year
Alternatives and similar repositories for terminal-size
Users that are interested in terminal-size are comparing it to the libraries listed below
Sorting:
- Lazy number range generator☆82Updated last year
- 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☆139Updated last month
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Ensure a function is only called once☆163Updated last year
- Create a lazily evaluated value☆69Updated 4 years ago
- Truncate a string to a specific width in the terminal☆87Updated last month
- Measure the time a promise takes to resolve☆71Updated last year
- Exit the process when the `esc` key is pressed☆57Updated last year
- Extract the actual stack of an error☆67Updated 3 years ago
- Ensures a value is a valid error by making it one if not☆79Updated last month
- Check if it's the first time the process is run☆81Updated last month
- Copy a file☆121Updated 2 months ago
- Get PID from a port☆79Updated 4 years ago
- Block users from running your app with root permissions☆99Updated 2 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆142Updated last month
- Check if a namespace on npm is being hogged☆74Updated 5 years ago
- Clean up regular expressions☆62Updated last year
- Scan npm for available package names☆101Updated 4 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Hook and modify stdout and stderr☆55Updated last month
- Check when the DOM has loaded like `DOMContentLoaded`☆110Updated last year
- Simplified high resolution timing☆84Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago
- Toggle the CLI cursor☆112Updated last year
- Import all modules in a directory☆138Updated 2 years ago
- Parse text columns, like the output of unix commands☆83Updated last month
- Boxes for use in the terminal☆103Updated last year
- Indent each line in a string☆113Updated 3 years ago