UNPKG

templates-mo

Version:

Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting

32 lines (31 loc) • 3.83 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transform = exports.ordinalize = exports.foreignKey = exports.classify = exports.tableize = exports.demodulize = exports.titleize = exports.dasherize = exports.capitalize = exports.humanize = exports.underscore = exports.camelize = exports.inflect = exports.singularize = exports.pluralize = exports.snakeCase = exports.sentenceCase = exports.pathCase = exports.pascalCase = exports.paramCase = exports.noCase = exports.headerCase = exports.dotCase = exports.constantCase = exports.capitalCase = exports.camelCase = void 0; var change_case_1 = require("change-case"); Object.defineProperty(exports, "camelCase", { enumerable: true, get: function () { return change_case_1.camelCase; } }); Object.defineProperty(exports, "capitalCase", { enumerable: true, get: function () { return change_case_1.capitalCase; } }); Object.defineProperty(exports, "constantCase", { enumerable: true, get: function () { return change_case_1.constantCase; } }); Object.defineProperty(exports, "dotCase", { enumerable: true, get: function () { return change_case_1.dotCase; } }); Object.defineProperty(exports, "headerCase", { enumerable: true, get: function () { return change_case_1.headerCase; } }); Object.defineProperty(exports, "noCase", { enumerable: true, get: function () { return change_case_1.noCase; } }); Object.defineProperty(exports, "paramCase", { enumerable: true, get: function () { return change_case_1.paramCase; } }); Object.defineProperty(exports, "pascalCase", { enumerable: true, get: function () { return change_case_1.pascalCase; } }); Object.defineProperty(exports, "pathCase", { enumerable: true, get: function () { return change_case_1.pathCase; } }); Object.defineProperty(exports, "sentenceCase", { enumerable: true, get: function () { return change_case_1.sentenceCase; } }); Object.defineProperty(exports, "snakeCase", { enumerable: true, get: function () { return change_case_1.snakeCase; } }); var inflection_1 = require("inflection"); Object.defineProperty(exports, "pluralize", { enumerable: true, get: function () { return inflection_1.pluralize; } }); Object.defineProperty(exports, "singularize", { enumerable: true, get: function () { return inflection_1.singularize; } }); Object.defineProperty(exports, "inflect", { enumerable: true, get: function () { return inflection_1.inflect; } }); Object.defineProperty(exports, "camelize", { enumerable: true, get: function () { return inflection_1.camelize; } }); Object.defineProperty(exports, "underscore", { enumerable: true, get: function () { return inflection_1.underscore; } }); Object.defineProperty(exports, "humanize", { enumerable: true, get: function () { return inflection_1.humanize; } }); Object.defineProperty(exports, "capitalize", { enumerable: true, get: function () { return inflection_1.capitalize; } }); Object.defineProperty(exports, "dasherize", { enumerable: true, get: function () { return inflection_1.dasherize; } }); Object.defineProperty(exports, "titleize", { enumerable: true, get: function () { return inflection_1.titleize; } }); Object.defineProperty(exports, "demodulize", { enumerable: true, get: function () { return inflection_1.demodulize; } }); Object.defineProperty(exports, "tableize", { enumerable: true, get: function () { return inflection_1.tableize; } }); Object.defineProperty(exports, "classify", { enumerable: true, get: function () { return inflection_1.classify; } }); Object.defineProperty(exports, "foreignKey", { enumerable: true, get: function () { return inflection_1.foreignKey; } }); Object.defineProperty(exports, "ordinalize", { enumerable: true, get: function () { return inflection_1.ordinalize; } }); Object.defineProperty(exports, "transform", { enumerable: true, get: function () { return inflection_1.transform; } });