my-idlers/node_modules/concat/README.md

52 lines
859 B
Markdown
Raw Normal View History

# Concat
[![Build Status](https://travis-ci.org/gko/concat.svg?branch=master)](https://travis-ci.org/gko/concat)
Concatenate multiple files
## Usage
```bash
Usage: concat [options]
concatenate multiple files
Options:
-h, --help output usage information
-V, --version output the version number
-o, --output <file> output file
```
examples:
```bash
concat -o output.css ./1.css ./2.css ./3.css
```
You can also use it from node:
```javascript
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:
```bash
npm run test
```
## Like it?
:star: this repo
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2017 Konstantin Gorodinskiy