1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.camelize = void 0;
|
4 | function camelize(str) {
|
5 | return str
|
6 | .replace(/(-|_|\.|\s)+(.)?/g, (_match, _separator, chr) => (chr ? chr.toUpperCase() : ''))
|
7 | .replace(/^([A-Z])/, match => match.toLowerCase());
|
8 | }
|
9 | exports.camelize = camelize;
|
10 | //# sourceMappingURL=strings.js.map |
\ | No newline at end of file |