paramCase

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

This function transform a string into a param case one like so “something-cool”

Params

  1. string*-String

    The string to convert

Return

  1. -String

    The converted string

Example

import { paramCase } from '@blackbyte/sugar/string';
paramCase('some thoing cool'); // => some-thing-cool

Todo

  • testsnormal