1.0.0 • Published 9 years ago

posix-expand v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

posix-expand

A POSIX-like expand in JavaScript.

NPM

build status Build status NPM version

Sauce Test Status

CLI

expand tabs.file > spaces.file

API

var Expand = require('posix-expand')

var expand = new Expand(argv)

Returns a transform stream. argv can be:

  • _: An array of arguments, file inputs; such as expand one.js two.js three.js
  • fs: Override the file system with a node/io compatible fs.
  • t: Number of tab stops. Default is 8.

license

(c) 2015 Kyle Robinson Young. MIT License