How to use the oc-generic-template-renderer.getCompiledTemplate function in oc-generic-template-renderer

To help you get started, we’ve selected a few oc-generic-template-renderer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github opencomponents / oc-template-react / packages / oc-template-react / index.js View on Github external
"use strict";

const genericRenderer = require("oc-generic-template-renderer");

const render = require("./lib/render");
const packageJson = require("./package.json");

module.exports = {
  getCompiledTemplate: genericRenderer.getCompiledTemplate,
  getInfo: () => genericRenderer.getInfo(packageJson),
  render
};

oc-generic-template-renderer

OC-Generic-Template-Renderer

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis