Hyphenate A simple helper function that splits and then joins words back together. Install yarn add hyphenate Usage import hyphenate from 'hyphenate'; hyphenate('hello, world!'); // "hello-world"hyphenate('JSONDataItems'); // "JSON-Data-Items"hyphenate('JSONDataItems', {lowerCase: true}); // "json-data-items"