template-init
Plugin for caching vinyl files as templates in an assemble, verb, or gulp pipeline.
Last updated 10 years ago by jonschlinkert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install template-init 
SYNC missed versions from official npm registry.

template-init NPM version Build Status

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, verbor assemblepipeline.

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'));
});

Other plugins

  • assemble: Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… more
  • gulp-routes: Add middleware to run for specified routes in your gulp pipeline.
  • gulp-extname: gulp plugin to dynamically rewrite dest extensions based on src extensions.
  • template: Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… more
  • template-render: Plugin for Template for rendering vinyl files in an assemble, verb, or gulp pipeline.
  • verb: Documentation generator for GitHub projects. Extremely powerful, easy to use, can generate anything from API… more

Running tests

Install dev dependencies:

npm i -d && 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) 2015 Brian Woodward Released under the MIT license.


This file was generated by verb-cli on April 29, 2015.

Current Tags

  • 0.4.1                                ...           latest (10 years ago)

8 Versions

  • 0.4.1                                ...           10 years ago
  • 0.2.2                                ...           10 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.1                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (2)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (4)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE