Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
ANSI escape codes for styling strings in the terminal
Terminal string styling done right
Strip ANSI escape codes from a string
Regular expression for matching ANSI escape codes
Get the visual width of a string - the number of columns required to display it
Escape RegExp special characters
Wordwrap a string with ANSI escape codes
Get the native type of a value.
Check if the character represented by a given Unicode code point is fullwidth
Get a stream as a string, Buffer, ArrayBuffer or array
Strip UTF-8 byte order mark (BOM) from a string
The string_decoder module from Node core
Parse JSON with more helpful errors
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
ANSI escape codes for manipulating the terminal
Matches strings against configurable strings, globs, regular expressions, and/or functions
Strip the final newline character from a string or Uint8Array
Returns true if a string has an extglob.