Buckets:
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.pascalCase = exports.pascalCaseTransformMerge = exports.pascalCaseTransform = void 0; | |
| var tslib_1 = require("tslib"); | |
| var no_case_1 = require("no-case"); | |
| function pascalCaseTransform(input, index) { | |
| var firstChar = input.charAt(0); | |
| var lowerChars = input.substr(1).toLowerCase(); | |
| if (index > 0 && firstChar >= "0" && firstChar <= "9") { | |
| return "_" + firstChar + lowerChars; | |
| } | |
| return "" + firstChar.toUpperCase() + lowerChars; | |
| } | |
| exports.pascalCaseTransform = pascalCaseTransform; | |
| function pascalCaseTransformMerge(input) { | |
| return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase(); | |
| } | |
| exports.pascalCaseTransformMerge = pascalCaseTransformMerge; | |
| function pascalCase(input, options) { | |
| if (options === void 0) { options = {}; } | |
| return no_case_1.noCase(input, tslib_1.__assign({ delimiter: "", transform: pascalCaseTransform }, options)); | |
| } | |
| exports.pascalCase = pascalCase; | |
| //# sourceMappingURL=index.js.map |
Xet Storage Details
- Size:
- 1.04 kB
- Xet hash:
- 315c922a1c8c879e283209dd0fe52e36c7ee64e303a6b68c3669021f097e844d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.