string.hyphenate
    string.hyphenate(s)
  
  
  
  Parameters
- str 
{String}:a string in camelCase
 
Returns
 {String}: 
the supplied string with camelCase converted to hyphen-lowercase digraphs
var string = require("can-util/js/string/string");
console.log(string.hyphenate("fooBar")); // -> "foo-bar"
console.log(string.hyphenate("WebkitFlexFlow")); // -> "Webkit-flex-flow"