index.js 845 B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var tslib_1 = require("tslib");
  4. var pascal_case_1 = require("pascal-case");
  5. function camelCaseTransform(input, index) {
  6. if (index === 0)
  7. return input.toLowerCase();
  8. return pascal_case_1.pascalCaseTransform(input, index);
  9. }
  10. exports.camelCaseTransform = camelCaseTransform;
  11. function camelCaseTransformMerge(input, index) {
  12. if (index === 0)
  13. return input.toLowerCase();
  14. return pascal_case_1.pascalCaseTransformMerge(input);
  15. }
  16. exports.camelCaseTransformMerge = camelCaseTransformMerge;
  17. function camelCase(input, options) {
  18. if (options === void 0) { options = {}; }
  19. return pascal_case_1.pascalCase(input, tslib_1.__assign({ transform: camelCaseTransform }, options));
  20. }
  21. exports.camelCase = camelCase;
  22. //# sourceMappingURL=index.js.map