dashCase

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

Dash case a string

Params

  1. text*-String

    The string to dashCase

Return

  1. -String

    The dashCased string

Example

import { dashCase } from '@blackbyte/sugar/string';
dashCase('hello world'); // => hello-world

Todo

  • testsnormal