source: imaps-frontend/node_modules/camel-case/dist.es2015/index.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 648 bytes
Line 
1import { __assign } from "tslib";
2import { pascalCase, pascalCaseTransform, pascalCaseTransformMerge, } from "pascal-case";
3export function camelCaseTransform(input, index) {
4 if (index === 0)
5 return input.toLowerCase();
6 return pascalCaseTransform(input, index);
7}
8export function camelCaseTransformMerge(input, index) {
9 if (index === 0)
10 return input.toLowerCase();
11 return pascalCaseTransformMerge(input);
12}
13export function camelCase(input, options) {
14 if (options === void 0) { options = {}; }
15 return pascalCase(input, __assign({ transform: camelCaseTransform }, options));
16}
17//# sourceMappingURL=index.js.map
Note: See TracBrowser for help on using the repository browser.