Kebab case for next.
npm install -S @jswork/next-kebab-case
import '@feizheng/next-kebab-case';
const res = nx.kebabCase('raDiuScHan_ge d');
// ra-diu-sc-han-ge-d
- https://gist.github.com/tdukart/b87afb278c41245741ae7a0c355a0a0b
- https://gist.github.com/thevangelist/8ff91bac947018c9f3bfaad6487fa149
Code released under the MIT license.