chalk / wrap-ansi
Wordwrap a string with ANSI escape codes
☆119Updated 10 months ago
Related projects: ⓘ
- Check if your package was installed globally☆70Updated 10 months ago
- Easily handle defaults for your options☆74Updated 11 months ago
- Toggle the CLI cursor☆102Updated last month
- Slice a string with ANSI escape codes☆47Updated 3 months ago
- Detect the dominant newline character of a string☆55Updated 11 months ago
- Check if argv has a specific flag☆90Updated 3 years ago
- Check if something is a Node.js stream☆111Updated 4 months ago
- Truncate a string to a specific width in the terminal☆85Updated 10 months ago
- Check if a path is a file, directory, or symlink☆75Updated last month
- Indent each line in a string☆112Updated 2 years ago
- Strip leading whitespace from each line in a string☆134Updated 3 years ago
- Filter object keys and values into a new object☆100Updated 3 months ago
- Reliably get the terminal window size☆139Updated 10 months ago
- Ponyfill for Error#captureStackTrace☆61Updated last year
- Get a random temporary file path☆79Updated last year
- Copy a file☆121Updated 10 months ago
- Read a package.json file☆165Updated 10 months ago
- Check if a path exists☆150Updated 2 years ago
- string representations of objects in node and the browser☆140Updated 3 weeks ago
- Write a package.json file☆89Updated last month
- Check if a URL is absolute☆77Updated 3 years ago
- Find the closest package.json file☆158Updated 10 months ago
- Get your PATH prepended with locally installed binaries☆104Updated 3 weeks ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆58Updated 4 months ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆78Updated 2 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆90Updated last year
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆82Updated last month
- normalizes package metadata, typically found in package.json file.☆195Updated 2 weeks ago