Skip to content

dash

Convert a string to dash case

334 bytes

Usage

Given a string returns it in dash case format.

import * as _ from 'radashi'
_.dash('green fish blue fish') // => green-fish-blue-fish