Search results
6000 packages found
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Terminal string styling done right
A JavaScript text diff implementation.
Regular expression for matching ANSI escape codes
ANSI escape codes for manipulating the terminal
Get a stream as a string, Buffer, ArrayBuffer or array
Strip ANSI escape codes from a string
Create boxes in the terminal
Wordwrap a string with ANSI escape codes
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Slice a string with ANSI escape codes
hast utility to get the plain-text value of a node
Wrap words to a specified length.
Detects if a file is binary in Node.js. Similar to Perl's -B.
- text
- binary
- encoding
- istext
- is text
- isbinary
- is binary
- is text or binary
- is text or binary file
- isbinaryfile
- is binary file
- istextfile
- is text file
Formats data into a string table.
React for CLI
Virtual file format for text processing
Check if a string has ANSI escape codes
Check if a file path is a text file