JSPM

assemble-middleware-add

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q10133F

Add files to your Assemble file stream.

Package Exports

  • assemble-middleware-add

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assemble-middleware-add) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.