UNPKG

typeorm-faker

Version:

Generate mocks, stubs using fakers with your Entity Settings

16 lines (14 loc) 500 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UtilService = void 0; class UtilService { static uncapitalize(value) { return value.charAt(0).toLowerCase() + value.substring(1); } static isEmptyObject(emptyOrNotObject) { return (Object.keys(emptyOrNotObject).length === 0 && Object.getPrototypeOf(emptyOrNotObject) === Object.prototype); } } exports.UtilService = UtilService; //# sourceMappingURL=util.service.js.map