serial-concat-files

2.0.0 • Public • Published

serial-concat-files

concat files in order

npm downloads Dependency Status devDependency Status npm-issues js-standard-style Build Status js-standard-style

Install

# NPM 
npm i -s serial-concat-files
# YARN 
yarn add serial-concat-files

Usage

var concat = require('serial-concat-files')()
concat(['./test/a', './test/b', './test/b'], './test/files/allc')
// OR
var concat = require('serial-concat-files')({ 
  post: '<POST>', // 
  last:'<LAST>',
  first:'<FIRST>',
  pre:'<PRE>'
})
concat(['./test/a', './test/b', './test/b'], './test/files/allc', function (error) {
  // <FIRST>this is a<POST><PRE>this is b<POST><PRE>this is b<LAST>
})

Readme

Keywords

none

Package Sidebar

Install

npm i serial-concat-files

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

5.66 kB

Total Files

6

Last publish

Collaborators

  • greenpioneer