UNPKG

ng-packagr

Version:

Compile and package Angular libraries in Angular Package Format (APF)

10 lines 369 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.camelize = void 0; function camelize(str) { return str .replace(/(-|_|\.|\s)+(.)?/g, (_match, _separator, chr) => (chr ? chr.toUpperCase() : '')) .replace(/^([A-Z])/, match => match.toLowerCase()); } exports.camelize = camelize; //# sourceMappingURL=strings.js.map