パッケージの詳細

blamer

kucherenko314.4kMIT1.0.6

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

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

更新履歴

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.6 (2023-09-26)

Bug Fixes

  • node:fs: remove standart module import (fb014a3)

1.0.4 (2023-09-17)

Bug Fixes

1.0.3 (2023-04-27)

Bug Fixes

  • package.json to reduce vulnerabilities (f3fc834)
  • vulnerability: issue with xml2js #25 (b0fb0e1)

1.0.1 (2020-03-09)

Bug Fixes

  • package.json: fix issue with yarn (f8cf710)
  • root: Rewrite the project with typescript and fix issue with security of script execution (5fada8c)