npm

Need private packages and team management tools?Check out npm Orgs. »

git-fstat

1.0.0 • Public • Published

Git File Stats

Build Status install size npm version

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
  }
*/

Keywords

none

install

npm i git-fstat

Downloadsweekly downloads

45

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability