git-fstat
TypeScript icon, indicating that this package has built-in type declarations

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

Readme

Keywords

none

Package Sidebar

Install

npm i git-fstat

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.97 kB

Total Files

7

Last publish

Collaborators

  • krmax44