UNPKG

motionlink-cli

Version:

Making it easy to use Notion as a Content Management system for personal websites, portfolios, blogs, business homepages, and other kinds of static websites.

17 lines 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const mustache_1 = require("mustache"); class MustacheService { render(view, template) { return (0, mustache_1.render)(template, view); } static get instance() { var _a; return (_a = this._instance) !== null && _a !== void 0 ? _a : (this._instance = new MustacheService()); } static setMockedInstance(instance) { this._instance = instance; } } exports.default = MustacheService; //# sourceMappingURL=mustache_service.js.map