Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gko/concat

🐱 concatenate files
https://github.com/gko/concat

concat concatenate concatenate-files

Last synced: 3 days ago
JSON representation

🐱 concatenate files

Awesome Lists containing this project

README

        

# 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 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