@lackadaisical/revision-history
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@lackadaisical/revision-history

A module for document revision history tables from git tags.

Installation and Usage

npm:

npm install @lackadaisical/revision-history

Yarn:

yarn add @lackadaisical/revision-history

Usage

getRevisionHistory (inputDir, options)

Where:

  • inputDir is the path that you want to generate a revision history for. It may be anywhere within a git repository.
  • options :
    options = {
      approvers?: Approvers
      caption?: string
      'message-from-tags'?: boolean
      title?: string
    }
    • approvers is an object containing approvers:
      approvers:
      Matt Jolly:
        position: Creator
        fromDate: 1990-01-01
        toDate: 2077-01-01
    • caption is a caption for the output table
    • message-from-tags is a boolean value that determines whether or not we want a tag message (or commit message from a lightweight tag)
    • title is a markdown string for the page heading

Readme

Keywords

none

Package Sidebar

Install

npm i @lackadaisical/revision-history

Weekly Downloads

1

Version

0.5.0

License

GPL-3.0-or-later

Unpacked Size

60 kB

Total Files

11

Last publish

Collaborators

  • kangie