node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ¬Ľ

ix-cat

ix-cat ūüźą

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('ix-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