{"id":20692051,"url":"https://github.com/richie-south/github-express-webhook-verifying","last_synced_at":"2026-04-04T22:33:32.503Z","repository":{"id":86917979,"uuid":"80604882","full_name":"richie-south/github-express-webhook-verifying","owner":"richie-south","description":"npm module: Validating payloads from GitHub","archived":false,"fork":false,"pushed_at":"2017-04-10T12:37:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T20:27:01.486Z","etag":null,"topics":["express","github","nodejs","npm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/github-express-webhook-verifying","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richie-south.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-01T09:20:09.000Z","updated_at":"2017-02-01T10:31:19.000Z","dependencies_parsed_at":"2023-03-13T19:49:17.292Z","dependency_job_id":null,"html_url":"https://github.com/richie-south/github-express-webhook-verifying","commit_stats":null,"previous_names":["rs222kn/github-express-webhook-verifying"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/richie-south/github-express-webhook-verifying","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richie-south%2Fgithub-express-webhook-verifying","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richie-south%2Fgithub-express-webhook-verifying/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richie-south%2Fgithub-express-webhook-verifying/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richie-south%2Fgithub-express-webhook-verifying/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richie-south","download_url":"https://codeload.github.com/richie-south/github-express-webhook-verifying/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richie-south%2Fgithub-express-webhook-verifying/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","github","nodejs","npm"],"created_at":"2024-11-16T23:18:59.344Z","updated_at":"2026-04-04T22:33:32.496Z","avatar_url":"https://github.com/richie-south.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-express-webhook-verifying [![npm version](https://badge.fury.io/js/github-express-webhook-verifying.svg)](https://badge.fury.io/js/github-express-webhook-verifying)\n\nValidating payloads from GitHub\n\n## Install:\n\n```\nnpm install github-express-webhook-verifying --save\n```\n\n## How to use:\n\nBasic\n```javascript\n\n// You also need to use body-parser in express\napp.use(bodyParser.json())\n\nconst verifyGithubWebhook = require('github-express-webhook-verifying')\nconst secret = 'MySecret!'\n\nrouter.get('/', verifyGithubWebhook(secret), (req, res) =\u003e {\n  // Webhook is verifyed here!\n})\n\n```\n\nWith config\n```javascript\n\n// You also need to use body-parser in express\napp.use(bodyParser.json())\n\nconst verifyGithubWebhook = require('github-express-webhook-verifying')\nconst secret = 'MySecret!'\nconst config = {\n  xHubSignatureNotFound: {\n    status: 400,\n    errorMessage: 'My custom message',\n  },\n  verifyingSignatureFailed: {\n    status: 403,\n    errorMessage: 'My other custom message',\n  },\n}\n\nrouter.get('/', verifyGithubWebhook(secret, config), (req, res) =\u003e {\n  // Webhook is verifyed here!\n})\n\n```\n\n## TODO\n\n- Tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichie-south%2Fgithub-express-webhook-verifying","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichie-south%2Fgithub-express-webhook-verifying","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichie-south%2Fgithub-express-webhook-verifying/lists"}