New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

honkit-plugin-github-sha

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

honkit-plugin-github-sha

As in GitHub, append a commit hash to the URL by pressing the "Y" key.

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-72.73%
Maintainers
1
Weekly downloads
 
Created
Source

honkit-plugin-github-sha

As in GitHub, append a commit hash to the URL by pressing the Y key.

Requirement

  • HonKit

Install

Install with npm:

npm install -D honkit-plugin-github-sha

Usage

Put github-sha to your book.json:

{
  "plugins": [
    "github-sha"
  ]
}

Press the Y key on honkit, A commit hash like ?hash=01234567 is appended to the URL.

Plugin Config

  • environmentVariableName (default: "GITHUB_SHA")
    • Name of the environment variable where a commit hash is stored
  • hashByteLength (default: 4)
    • Length of a commit hash to be appended to the URL
{
  "pluginsConfig": {
    "github-sha": {
      "environmentVariableName": "CF_PAGES_COMMIT_SHA",
      "hashByteLength": 8
    }
  }
}

License

MIT

Keywords

FAQs

Package last updated on 12 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc