Search results

1000+ packages found

A utility library for converting data types and working with arrays. Provides converters for boolean, number, and string values, along with array conversion functions and support for values with predefined options.

published version 1.0.1, 2 years ago0 dependents licensed under $MIT
41

Simple converters from case to case for string and Record. It can canvert below cases each other.

published version 1.1.2, 4 years ago5 dependents licensed under $ISC
37

A modern library/monorepo of high-quality, zero-dependency, fully typed, fully tested, tree-shakeable utilities, parsers, data structure factories, converters and other capabilities

published version 2.10.0, 9 months ago0 dependents licensed under $MIT
129

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9580 dependents licensed under $MIT
1,166,163,331

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3674 dependents licensed under $MIT
1,718,349,435

Terminal string styling done right

published version 5.5.0, 6 days ago127502 dependents licensed under $MIT
1,412,805,101

Regular expression for matching ANSI escape codes

published version 6.1.0, a year ago3211 dependents licensed under $MIT
1,066,739,194

Escape RegExp special characters

published version 5.0.0, 4 years ago5199 dependents licensed under $MIT
742,701,669

Get the visual width of a string - the number of columns required to display it

published version 7.2.0, a year ago6633 dependents licensed under $MIT
975,551,353

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6241 dependents licensed under $MIT
857,807,212

Get the native type of a value.

published version 6.0.3, 6 years ago1964 dependents licensed under $MIT
524,447,581

Check if the character represented by a given Unicode code point is fullwidth

published version 5.0.0, 2 years ago2626 dependents licensed under $MIT
620,379,914

Strip UTF-8 byte order mark (BOM) from a string

published version 5.0.0, 4 years ago1999 dependents licensed under $MIT
378,414,204

The string_decoder module from Node core

published version 1.3.0, 6 years ago2385 dependents licensed under $MIT
573,404,888

Get a stream as a string, Buffer, ArrayBuffer or array

published version 9.0.1, a year ago2377 dependents licensed under $MIT
514,058,741

Parse JSON with more helpful errors

published version 8.3.0, 4 months ago1775 dependents licensed under $MIT
352,592,837

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

published version 8.0.0, 2 years ago6768 dependents licensed under $MIT
488,587,459

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

published version 3.1.0, 8 months ago1939 dependents licensed under $MIT
394,011,510

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

published version 4.0.3, 4 years ago2750 dependents licensed under $MIT
358,210,804

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2573 dependents licensed under $MIT
320,323,654