assemble-init

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i assemble-init

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • doowb