Kebab-to-camel-string 🍢🐫

@common-utilities/kebab-to-camel-string 🧰

Typed with TypeScriptarrow-up-right npm versionarrow-up-right

kebabToCamelString is a common function for returning a kebab string as a camel string.

Install

yarn add @common-utilitiee/kebab-to-camel-string -D

Usage

// string
kebabToCamelString('test-thing')
// testThing

// object
kebabToCamelStringsInObject({ 'test-thing': 'foo' })
// { testThing: 'foo' }

Common Utilities 🧰

No cruft. No bloat. No dependencies.

Simple, typed, functional, documented, and tested javascript utility functions.

View other common utilitiesarrow-up-right on Github.

Last updated

Was this helpful?