jonschlinkert / window-size
Reliable way to to get the height and width of the terminal/console in a node.js environment.
☆82Updated 3 months ago
Related projects ⓘ
Alternatives and complementary repositories for window-size
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated 10 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Find multiple RegExp matches in a string☆93Updated 2 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Check if argv has a specific flag☆94Updated 3 years 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
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years 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
- Detect the dominant newline character of a string☆55Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Import a globally installed module☆57Updated 10 months ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Check if something is a Node.js stream☆111Updated 3 weeks ago
- Lazy number range generator☆82Updated 10 months ago
- Create an array without duplicates☆70Updated 3 years ago
- Create a lazily evaluated value☆69Updated 3 years ago
- Check if a value is a plain object☆102Updated 6 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- [DEPRECATED] Node.js `os.homedir()` ponyfill☆61Updated 3 years ago
- Write data to a random temporary file☆104Updated 3 months ago
- Check if your package was installed globally☆70Updated last year
- Rename a function☆45Updated last year
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated last year
- Reliably get the terminal window size☆140Updated last year
- Get namespaced config from the closest package.json☆120Updated last year
- Find the closest package.json file☆159Updated last year
- Get the path of the parent module☆77Updated last year