Skip to content
Show changed files in latest commit
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
test
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

showf - show files in commit

The showf Node.js module shows filenames of changed files in the latest commit to a local git repository.

Build Status David DM

Usage

var showf = require('showf')
  , cop = require('cop')

showf(process.cwd())
  .pipe(cop(function (s) { return s + '\n' }))
  .pipe(process.stdout)

API

showf(dir)

  • dir Path to local git repository

The showf module exports a single function that returns a Transform stream. The output of the stream are filenames of changed files in the latest commit.

Installation

NPM

License

MIT License

Something went wrong with that request. Please try again.