Displaying 1 to 20 from 35 results

voca - The ultimate JavaScript string library

  •    Javascript

The Voca library offers helpful functions to make string manipulations comfortable: change case, trim, pad, slugify, latinise, sprintf'y, truncate, escape and much more. The modular design allows to load the entire library, or individual functions to minimize the application builds. The library is fully tested, well documented and long-term supported. Voca can be used in various environments.

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

  •    Javascript

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

  •    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`

  •    Javascript

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

uppercamelcase - Convert a dash/dot/underscore/space separated string to UpperCamelCase: foo-bar → FooBar

  •    Javascript

Convert a dash/dot/underscore/space separated string to UpperCamelCase: foo-bar → FooBar


rematch - Pattern matching for JavaScript / TypeScript

  •    Javascript

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

  •    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

  •    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

  •    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

  •    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

  •    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

  •    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

  •    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

  •    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.