uncamelize

Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.string

Uncamelize a string

Params

  1. string*-String

    The string to uncamelize

  2. separator”’-‘“String

    The separator to use

Return

  1. -String

    The uncamelized string

Example

import { uncamelize } from '@blackbyte/sugar/string'
uncamelize('helloWorldAndUniverse') // hello-world-and-universe

Todo

  • testsnormal