JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 61
  • Score
    100M100P100Q68024F
  • License

Plugin for caching vinyl files as templates in an assemble, verb, or gulp pipeline.

Package Exports

  • template-init

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (template-init) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

template-init NPM version

Plugin for caching vinyl files as templates in an assemble, verb, or gulp pipeline.

Install with npm

npm i template-init --save

Usage

Plugin for caching vinyl files as templates in a [gulp], [verb] or [assemble] pipeline.

Example:

var renderPlugin = require('template-render');
var initPlugin = require('template-init');
var render = renderPlugin(assemble);
var init = initPlugin(assemble);

assemble.task('posts', function () {
  assemble.src('*.hbs')
    .pipe(init())
    .pipe(render())
    .pipe(assemble.dest('_gh_pages'));
});

Run tests

npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Brian Woodward

License

Copyright (c) 2014 Brian Woodward
Released under the MIT license


This file was generated by verb on December 20, 2014.