1.0.0 • Published 5 years ago
git-fstat v1.0.0
Git File Stats
Stats about a given file using git log
.
Installation
yarn add git-fstat
# or with npm
npm i git-fstat
Usage
Very simple.
import gitFstat from 'git-fstat';
const stats = await gitFstat('My file.txt');
console.log(stats);
/*
{
createdAt: Date,
modifiedAt: Date,
changes: number
}
*/
1.0.0
5 years ago