Search results
6000 packages found
Terminal string styling done right
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
A JavaScript text diff implementation.
Get a stream as a string, Buffer, ArrayBuffer or array
ANSI escape codes for manipulating the terminal
Wordwrap a string with ANSI escape codes
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Slice a string with ANSI escape codes
Wrap words to a specified length.
Formats data into a string table.
Strip ANSI escape codes from a string
ANSI escape codes for styling strings in the terminal
Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.
Virtual file format for text processing
Strip UTF-8 byte order mark (BOM) from a string
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
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
A simple utility to quickly replace text in one or more files.
Regular expression for matching ANSI escape codes
Check if a file path is a text file