1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.camelToKebab = void 0;
|
7 |
|
8 | /*
|
9 | Copyright (c) 2018-2020 Uber Technologies, Inc.
|
10 |
|
11 | This source code is licensed under the MIT license found in the
|
12 | LICENSE file in the root directory of this source tree.
|
13 | */
|
14 | var camelToKebab = function camelToKebab(s) {
|
15 | return s.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
16 | };
|
17 |
|
18 | exports.camelToKebab = camelToKebab; |
\ | No newline at end of file |