🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

assemble-middleware-add

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemble-middleware-add

Add files to your Assemble file stream.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

assemble-middleware-add NPM version

Add files to your Assemble file stream.

Install

Install with npm:

npm i assemble-middleware-add --save-dev

Add

add

Add files to the current Assemble stream.

Usage

var assemble = require('assemble');
var add = require('assemble-middleware-add')(assemble);

assemble.src('path/to/pages/*.hbs')
  .pipe(assemble.dest('path/to/dest/pages/')
  .pipe(add('path/to/posts/*.md'))
  .pipe(assemble.dest('path/to/dest/blog/');
  • assemble {Object}: instance of assemble
  • return {Function} addSrc function to be used to create a stream.

Author

Brian Woodward

License

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

This file was generated by verb-cli on June 30, 2014.

Keywords

docs

FAQs

Package last updated on 30 Jun 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