staged-files
Run a command on staged files matching a pattern
Last updated 9 years ago by jpommerening .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install staged-files 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.2                                ...           latest (9 years ago)

3 Versions

  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE