{"library":"express-x-hub","type":"library","category":null,"description":"The `express-x-hub` package provides an Express.js middleware for validating X-Hub-Signature requests. It was designed to ensure the integrity of incoming webhooks, particularly useful for platforms like Facebook real-time updates and GitHub webhooks, by verifying the request body against a secret using the `X-Hub-Signature` header. The current and only stable version is 1.0.4, last published in October 2015. This package is no longer actively maintained or updated, making it effectively abandoned. Its primary differentiation was its specific focus on adding validation methods directly to the `req` object (`req.isXHub`, `req.isXHubValid()`) within the Express middleware flow, requiring placement *before* any body parsing middleware. It does not provide official TypeScript types.","language":"javascript","status":"abandoned","version":"1.0.4","tags":["javascript","express","x-hub","xhub","signature","middleware","facebook","realtime","updates"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-x-hub","imports":["const xhub = require('express-x-hub');","if (!req.isXHub) { /* handle non-xhub request */ }","if (!req.isXHubValid()) { /* handle invalid signature */ }"]},{"cmd":"yarn add express-x-hub","imports":[]},{"cmd":"pnpm add express-x-hub","imports":[]}],"homepage":null,"github":"https://github.com/alexcurtis/express-x-hub","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-x-hub","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-x-hub/compatibility"}}