0.1.0 • Published 9 years ago

assemble-init v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

assemble-init NPM version

Plugin for initializing an assemble pipeline.

Install

Install with npm

npm i assemble-init --save

Run tests

npm test

Usage

var assembleInit = require('assemble-init');

API

.initPlugin

Assemble init plugin used to add templates from a source to the template cache.

var assemble = require('assemble');
var initPlugin = require('assemble-init');

init

Create a stream that will initialize files for an assemble pipeline.

  • options {Object}: Additional options to use.
  • returns {Stream}: Stream compatible with Assemble pipelines
var init = initPlugin(assemble);
gulp.task('build-posts', function () {
  gulp.src('*.hbs')
    .pipe(init())
    .pipe(render())
    .pipe(gulp.dest('_gh_pages'));
});

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 11, 2014.