Skip to content

mgillam/js-cat

 
 

Repository files navigation

concatifier

A fork of concat

Build Status

Concatenate multiple files. The only critical difference from the upstream concat is that this one does not add newline characters between the concatenated files.

Usage

Usage: concat [options]

concatenate multiple files

Options:
    -h, --help                   output usage information
    -V, --version                output the version number
    -o, --output <file>          output file

examples:

concat -o output.css ./1.css ./2.css ./3.css

You can also use it from node:

const concat = require('concat');

concat([file1, file2, file3]).then(result => console.log(result))

// or
concat([file1, file2, file3], outputFile)

Tests

To run tests you simply need to do:

npm run test

Like it?

⭐ this repo

License

MIT

Concat is Copyright (c) 2017 Konstantin Gorodinskiy

About

🐱 concatenate files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.2%
  • TypeScript 25.8%