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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    684
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    684
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i staged-files

Weekly Downloads

684

Version

0.1.2

License

MIT

Last publish

Collaborators

  • jpommerening