0.1.2 • Published 8 years ago

staged-files v0.1.2

Weekly downloads
382
License
MIT
Repository
github
Last release
8 years ago

staged-files

Get staged files for use in git hooks or some task runner.

API

From the command line (mostly useful for systems without xargs).

staged-files 'optional-pattern/**' -- optional_command

Vinyl compatible stream.

var stagedFiles = require('staged-files');

stagedFiles().pipe(/*...*/);