Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

template-init

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

template-init

Plugin for adding vinyl files from an assemble, verb, or gulp pipeline to a template cache.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
101
-15.83%
Maintainers
1
Weekly downloads
 
Created
Source

template-init NPM version

Plugin for adding vinyl files from an assemble, verb, or gulp pipeline to a template cache.

Install

Install with npm

npm i template-init --save

Run tests

npm test

API

.initPlugin

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

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

init

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

  • options {Object}: Additional options to use.
  • returns {Stream}: Stream compatible with Assemble, Verb, or Gulp pipelines
var init = initPlugin(app);
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 12, 2014.

FAQs

Package last updated on 12 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts