vanillaes/absurdum

strings.kebabCase

evanplaice opened this issue · 1 comments

Converts a string to kebab case

Checklist

  • implementation
  • tests
  • jsdoc

Details

console.log(strings.kebabCase('css classes use kebab case'));
>'css-classes-use-kebab-case'

References

Added in 0.74