jonschlinkert / window-size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
☆83Updated 7 months ago
Alternatives and similar repositories for window-size:
Users that are interested in window-size are comparing it to the libraries listed below
- Check if a path exists☆150Updated 3 years ago
- Indent each line in a string☆113Updated 2 years ago
- Reliably get the terminal window size☆141Updated 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
- Truncate a string to a specific width in the terminal☆87Updated last year
- Get the path to the user home directory☆161Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Lazy number range generator☆81Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Write data to a random temporary file☆105Updated 7 months ago
- Import a globally installed module☆58Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Rename a function☆46Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Toggle the CLI cursor☆107Updated 7 months ago
- Align the text in a string.☆52Updated 4 years ago
- Create an array without duplicates☆70Updated 3 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Find the closest package.json file☆162Updated last year
- Check if your package was installed globally☆70Updated last year
- Define a lazily evaluated property on an object☆65Updated 2 years ago