Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i staged-files

DownloadsWeekly Downloads

685

Version

0.1.2

License

MIT

Last publish

Collaborators

  • avatar