Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Trimming string whitespace from object, array or string
Opinionated HTML formatter focused towards making HTML diffs readable.
- html
- formatter
- diff
- diffable
- jest
- snapshot
- serializer
- snapshotSerializer
- string
- vue
- vue.js
- test
- beautifier
- js-beautify
ANSI escape codes for styling strings in the terminal
Terminal string styling done right
Strip ANSI escape codes from a string
Escape RegExp special characters
Wordwrap a string with ANSI escape codes
Regular expression for matching ANSI escape codes
Get the native type of a value.
Get the visual width of a string - the number of columns required to display it
The string_decoder module from Node core
Check if the character represented by a given Unicode code point is fullwidth
Get a stream as a string, Buffer, ArrayBuffer or array
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Strip UTF-8 byte order mark (BOM) from a string
Parse JSON with more helpful errors
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
Returns true if a string has an extglob.
Slice a string with ANSI escape codes