staged-files

0.1.2 • Public • Published

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(/*...*/);

Readme

Keywords

Package Sidebar

Install

npm i staged-files

Weekly Downloads

722

Version

0.1.2

License

MIT

Last publish

Collaborators

  • jpommerening