hyphenize
Normalize key for object. Convert string from unfitting string as a object key to fitting string in style of hyphen
Install
$ npm install --save hyphenize
Usage
var hyphenize = ; ; //=> 'lower-upper'; //=> 'lower-upper'; //=> '_lower-upper'; //=> 'lower-upper'; //=> 'lower-upper'; //=> '_lower-upper'; //=> 'lower-upper'; //=> 'lower-upper'; //=> 'lower-upper'; //=> 'lower-upper'; //=> 'lower-upper'
API
hyphenize(input)
input
Type: string
Target string
License
MIT © Jimmy Moon