1.0.1 • Published 5 years ago

hapi-git-repo-info v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

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")
});