Displaying 1 to 20 from 23 results

change-case - Convert strings between camelCase, PascalCase, Title Case, snake_case and more


Convert strings between camelCase, PascalCase, Title Case, snake_case, lowercase, UPPERCASE, CONSTANT_CASE and more. All methods support Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

humps - 🐫 Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript


Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript. When converting object keys, it will walk the structure, converting any nested objects (or arrays of nested objects) along the way. Handy for converting JSON between JavaScript and Ruby/Rails APIs.

match-casing - Match the case of `value` to that of `base`


Match the case of value to that of base.Transform the case in value (string) to match that of base (string).

rematch - Pattern matching for JavaScript / TypeScript


Rematch is a pattern matching library built for JavaScript and TypeScript. Pattern matching helps you write safer, more readable, and more concise code. Or download a release and pick up lib/rematch.js.




param-case - Param case a string in JavaScript


Param case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

pascal-case - Pascal case a string in JavaScript


Pascal case a string. Explicitly adds a single underscore between groups of numbers to keep readability (E.g. 1.20.5 becomes 1_20_5, not 1205). Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

snake-case - Snake case a string in JavaScript


Snake case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

title-case - Title case a string in JavaScript


Title case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.


upper-case - Uppercase a string in JavaScript


Upper case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

camel-case - Camel case a string in JavaScript


Camel case a string. Explicitly adds a single underscore between groups of numbers to maintain readability and reversibility (E.g. 1.20.5 becomes 1_20_5, not 1205), by default. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

constant-case - Constant case a string in JavaScript


Constant case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

dot-case - Dot case a string in JavaScript


Dot case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

lower-case - Lowercase a string in JavaScript


Lower case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

no-case - Transform a string to lower space cased in JavaScript


Transform a string to lower space cased. Optional locale and replacement character supported. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

adt.js - Algebraic data types for Javascript


Algebraic data types and immutable structures for Javascript. adt.any is a value constraint that will allow anything. If you wanted to restrict the type, you could use adt.only.

to-camel-case - Convert a string to a camel case.


Convert a string to a camel case. Part of the series of case helpers. Returns the string converted to camel case.

to-no-case - Remove an existing case from a string.


Remove any existing casing from a string. Part of the series of case helpers. If you specifically want to receive space case strings as the output, without any other odd characters, check out to-space-case instead. Or one of the other case helpers.

to-slug-case - Convert a string to a slug case.


Convert a string to a slug case. Part of the series of case helpers. Returns the string converted to slug case.

to-snake-case - Convert a string to a snake case.


Convert a string to a snake case. Part of the series of case helpers. Returns the string converted to snake case.