code: function kebabCase (str) {
    return str
      .replace(/([a-z])([A-Z])/g, match => match[0] + '-' + match[1])
      .replace(invalidChars, '-')
      .toLowerCase()
  }
docs: Convert text to kebab-case
  @param {string} str Text to be converted
  @return {string}