Skip to content

shama/posix-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🐈 A POSIX-like cat in JavaScript

Resources

Stars

Watchers

Forks

Packages

No packages published