{"id":13780955,"url":"https://github.com/dekelev/feathers-hubspot-webhooks","last_synced_at":"2026-06-11T20:31:13.248Z","repository":{"id":51324455,"uuid":"199259632","full_name":"dekelev/feathers-hubspot-webhooks","owner":"dekelev","description":"Handle HubSpot webhooks in a FeathersJS service","archived":false,"fork":false,"pushed_at":"2023-07-18T21:52:27.000Z","size":1000,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T20:19:08.151Z","etag":null,"topics":["feathers","feathersjs","hubspot","webhooks"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dekelev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-28T08:02:35.000Z","updated_at":"2024-09-13T23:10:56.000Z","dependencies_parsed_at":"2024-01-18T09:06:14.140Z","dependency_job_id":"26d6513c-401f-45a2-b055-befb567de9ab","html_url":"https://github.com/dekelev/feathers-hubspot-webhooks","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":0.5714285714285714,"last_synced_commit":"ba78e81e849ba38cd06d8f87db4acba2969eb782"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/dekelev/feathers-hubspot-webhooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekelev%2Ffeathers-hubspot-webhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekelev%2Ffeathers-hubspot-webhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekelev%2Ffeathers-hubspot-webhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekelev%2Ffeathers-hubspot-webhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dekelev","download_url":"https://codeload.github.com/dekelev/feathers-hubspot-webhooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekelev%2Ffeathers-hubspot-webhooks/sbom","scorecard":{"id":332895,"data":{"date":"2025-08-11","repo":{"name":"github.com/dekelev/feathers-hubspot-webhooks","commit":"ba78e81e849ba38cd06d8f87db4acba2969eb782"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T03:59:54.690Z","repository_id":51324455,"created_at":"2025-08-18T03:59:54.690Z","updated_at":"2025-08-18T03:59:54.690Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34217312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["feathers","feathersjs","hubspot","webhooks"],"created_at":"2024-08-03T18:01:21.484Z","updated_at":"2026-06-11T20:31:13.208Z","avatar_url":"https://github.com/dekelev.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Utilities"],"readme":"# feathers-hubspot-webhooks\n\n[![Build Status](https://travis-ci.org/dekelev/feathers-hubspot-webhooks.svg?branch=master)](https://travis-ci.org/dekelev/feathers-hubspot-webhooks)\n\n## Installation\n\n`npm install --save feathers-hubspot-webhooks`\n\n\n## Usage\n\n```javascript\n// default.json\n{\n  \"hubspot\": {\n    \"apiKey\": \"94d64f06-0c5d-42ed-b0c8-b9926cce7697\",\n    \"webhooks\": {\n      \"signature\": {\n        \"verify\": true,\n        \"secret\": \"7521a231-a773-45ed-a430-ec67d8d43dc4\"\n      }\n    }\n  }\n}\n```\n\n```javascript\n// app.js\nconst { hubspotSignatureValidationMiddleware } = require('feathers-hubspot-webhooks');\n\nif (config.hubspot.webhooks.signature.verify)\n  app.configure(hubspotSignatureValidationMiddleware('/hubspot/webhooks', config.hubspot.webhooks.signature.secret));\n\n// run other body-parser rules here, i.e. app.use(bodyParser.json())\n```\n\n```javascript\n// hubspot-webhooks.service.js\nconst { hubspotWebhooksService } = require('feathers-hubspot-webhooks');\nconst handlers = require('./hubspot-webhooks.handlers');\nconst hooks = require('./hubspot-webhooks.hooks');\n\nmodule.exports = function (app) {\n  app.use('/hubspot/webhooks', hubspotWebhooksService(handlers));\n\n  const service = app.service('hubspot/webhooks');\n\n  service.hooks(hooks);\n};\n```\n\n```javascript\n// hubspot-webhooks.handlers.js\nmodule.exports = {\n  contact: {\n    async created({ event, params, app }) {\n      // Handle webhook\n      // NOTE: Whatever you return will be returned as a response to hubspot.\n      // If you return undefined feathers will 404 and the hook will fail\n      \n      params.doSomething = true;\n\n      return {};\n    },\n    updated: {\n      async firstname({ event, params, app }) {\n        // Get HubSpot object ID from `event.objectId`\n        // Get updated value from `event.propertyValue`\n\n        return {};\n      },\n      //....\n    },\n    async deleted({ event, params, app }) {\n      return {};\n    },\n  },\n  company: {\n    async created({ event, params, app }) {\n      return {};\n    },\n    updated: {\n      async city({ event, params, app }) {\n        return {};\n      },\n      //....\n    },\n    async deleted({ event, params, app }) {\n      return {};\n    },\n  },\n  deal: {\n    async created({ event, params, app }) {\n      return {};\n    },\n    updated: {\n      async amount({ event, params, app }) {\n        return {};\n      },\n      //....\n    },\n    async deleted({ event, params, app }) {\n      return {};\n    },\n  },\n};\n```\n\n```javascript\n// hubspot-webhooks.hooks.js\nmodule.exports = {\n  after: {\n    create: [\n      iff(hook =\u003e hook.params.doSomething,\n        doSomething()\n      ),\n    ],\n  },\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekelev%2Ffeathers-hubspot-webhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdekelev%2Ffeathers-hubspot-webhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekelev%2Ffeathers-hubspot-webhooks/lists"}