summaryrefslogtreecommitdiff
path: root/node_modules/pascal-case/dist.es2015/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/pascal-case/dist.es2015/index.js')
-rw-r--r--node_modules/pascal-case/dist.es2015/index.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/node_modules/pascal-case/dist.es2015/index.js b/node_modules/pascal-case/dist.es2015/index.js
deleted file mode 100644
index 425fe347..00000000
--- a/node_modules/pascal-case/dist.es2015/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import { __assign } from "tslib";
-import { noCase } from "no-case";
-export 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;
-}
-export function pascalCaseTransformMerge(input) {
- return input.charAt(0).toUpperCase() + input.slice(1).toLowerCase();
-}
-export function pascalCase(input, options) {
- if (options === void 0) { options = {}; }
- return noCase(input, __assign({ delimiter: "", transform: pascalCaseTransform }, options));
-}
-//# sourceMappingURL=index.js.map \ No newline at end of file