0.2.0 • Published 7 years ago

pull-concat-files v0.2.0

Weekly downloads
11
License
-
Repository
github
Last release
7 years ago

pull-concat-files

Concat pull-stream files into one

Simple file -> file concat. Consumes all files in the stream, use something like pull.filter or globs beforehand.

pull(
  read(__dirname + '/src/**/*.css'),
  concat('app.css'),
  write(__dirname + '/out/')
)

Install

npm install --save pull-concat-files
yarn add pull-concat-files

Usage

concat(path, sep?)

Concats all files in the stream into one file under path.

pull
  read('src/**/*.css'),
  concat('app.css'),
  write('out/')
)

Also see


Maintained by Jamen Marz (See on Twitter and GitHub for questions & updates)