prueba1mypluralize
Version:
Prueba numero 1
20 lines (19 loc) • 615 B
JavaScript
;
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var pluralize = __importStar(require("pluralize"));
/**
* @Method: Returns the plural form of any noun.
* @Param {string}
* @Return {string}
*/
function getPlural(str) {
return pluralize.plural(str);
}
exports.getPlural = getPlural;