Displaying 1 to 20 from 33 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.