hapi-git-repo-info

1.0.1 • Public • Published

hapi-git-repo-info

Get git repo information like current branch, last committer, etc.

Add to manifest.json

{ "plugin": { "register": "hapi-info" } }

Add to plugins

await server.register({
        plugin: require('hapi-git-repo-info')
});

Using manifest glue manually

Copy the index.js file to your repo and perform the below action

manifest.register.plugins.push({
  plugin: require("./plugins/hapi-branch")
});

/hapi-git-repo-info/

    Package Sidebar

    Install

    npm i hapi-git-repo-info

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    2.08 kB

    Total Files

    4

    Last publish

    Collaborators

    • ksankaran