blamer

blamer is a tool for getting information about author of code from version control system

MIT 16 个版本
安装
npm install blamer
yarn add blamer
pnpm add blamer
bun add blamer
README

Blamer

Blamer is a tool for get information about author of code from version control system. Supports git and subversion.

Status

NPM version Build Status codecov Code Climate

NPM

Setup

npm install blamer

Usage


import Blamer from 'blamer';

// first parameter in Blamer is type of VCS, can be 'svn' or 'git', 'git' used by default
const blamer = new Blamer('git');

( async () => {
    const result = await blamer.blameByFile('/path/to/file/in/repo');
    console.log("Blame json: %j", result);
    //        will print
    //        Blame json: {"/path/to/file/in/repo": {
    //            "1": {
    //                "rev": "rev",
    //                "author": "author",
    //                "date": "2014-10-15T12:33:31.675393Z",
    //                "line": "1"
    //             }
    //        }
    //   }
})

License

The MIT License

版本列表
1.0.7 2025-10-24
1.0.6 2023-09-28
1.0.4 2023-09-17
1.0.3 2023-04-27
1.0.1 2020-03-09
0.1.13 2017-02-01
0.1.12 2016-08-19
0.1.11 2016-01-18
0.1.10 2016-01-16
0.1.9 2015-01-04
0.1.8 2014-12-01
0.1.7 2014-10-27
0.1.5 2014-10-27
0.1.3 2014-10-27
0.1.2 2014-10-26
0.1.1 2014-10-26