1.2.4 • Published 10 years ago
vcat v1.2.4
vcat
A simple concatenation command line tool built with Node.js streams.
Basically, it is a JavaScript version of Unix's cat utility program.
Install
You might want to install vcat as a development dependency:
$ npm install vcat --save-devOr just install it globally:
$ npm install -g vcatUsage
To use vcat, you need to pass input files with the -s or --source option, then pass an output path with the -o or --output option.
Examples
The basic use case, reading files and concatenating to a new file:
$ vcat -s src/*.js -o bundle.jsIf an option is not passed, vcat will use the standard input/output, meaning basic piping is possible:
$ vcat -s src/*.js | grep 'Hello World'$ (date; echo "Hello World") | vcat -o output.txt$ vcat -s src/*.js | transpilerProgramLicense
This software is licensed under MIT.
