UNPKG

typeorm-fixtures-cli

Version:

[![CircleCI](https://circleci.com/gh/RobinCK/typeorm-fixtures.svg?style=svg)](https://circleci.com/gh/RobinCK/typeorm-fixtures) ![GitHub CI](https://github.com/RobinCK/typeorm-fixtures/workflows/Build%20CI/badge.svg?branch=master) [![OpenCollective](https

20 lines 474 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EjsParser = void 0; const ejs = require("ejs"); class EjsParser { constructor() { /** * @type {number} */ this.priority = 80; } isSupport(value) { return /<%(.+?)%>/gms.test(value); } parse(value, fixture) { return ejs.render(value, fixture); } } exports.EjsParser = EjsParser; //# sourceMappingURL=EjsParser.js.map