Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

2,458

version

0.1.2

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar