broccoli-templater

easily use lodash templates to template many files

Usage no npm install needed!

<script type="module">
  import broccoliTemplater from 'https://cdn.skypack.dev/broccoli-templater';
</script>

README

broccoli-templater

Build Status

broccoli plugin that combines lodash.template and broccoli for fun stuff.

example:

var templatedTree = new Template(untemplatedTree, pathToTemplate,
  function buildVariables(content, relativePath) {
    return {
      moduleBody: content
    };
});