Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.22 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.22 KB

A POSIX-like cat in JavaScript.

NPM

build status Build status NPM version

Sauce Test Status

CLI

echo "// before" | cat one.js two.js three.js > output.js

API

var Cat = require('posix-cat')

var cat = new Cat(argv)

Returns a transform stream. argv can be:

  • _: An array of arguments of file paths to concat; such as cat one.js two.js three.js
  • fs: Override the file system with a node/io compatible fs.
  • u: Write bytes without buffering.

license

(c) 2015 Kyle Robinson Young. MIT License