jonschlinkert / window-size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
☆82Updated 2 months ago
Related projects ⓘ
Alternatives and complementary repositories for window-size
- Find multiple RegExp matches in a string☆93Updated 2 years ago
- Indent each line in a string☆112Updated 2 years ago
- Create an array without duplicates☆70Updated 3 years ago
- Lazy number range generator☆82Updated 10 months ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Check if something is a Node.js stream☆111Updated last week
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Write data to a random temporary file☆104Updated 3 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated 10 months ago
- Check if a path exists☆150Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆78Updated 2 years ago
- Truncate a string to a specific width in the terminal☆85Updated last year
- Import a globally installed module☆57Updated 9 months ago
- Get the path to the user home directory☆161Updated 3 years ago
- Toggle the CLI cursor☆103Updated 3 months ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated last year
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Updated 3 years ago
- recursively find the closest package.json☆48Updated last year
- Get the path of the parent module☆77Updated last year
- Check if a value is a plain object☆101Updated 6 months ago
- Check if your package was installed globally☆70Updated last year
- Check if argv has a specific flag☆93Updated 3 years ago
- Tests whether one path is inside another path☆41Updated 4 years ago
- Easily handle defaults for your options☆73Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 2 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Cross-platform .zip file creation☆128Updated 8 months ago
- Copy a file☆121Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago