{"id":18044580,"url":"https://github.com/tigerfintech/gitlab-hook-handler","last_synced_at":"2026-04-28T13:35:44.288Z","repository":{"id":33246661,"uuid":"152986660","full_name":"tigerfintech/gitlab-hook-handler","owner":"tigerfintech","description":"gitlab hook handler","archived":false,"fork":false,"pushed_at":"2022-12-09T12:51:18.000Z","size":567,"stargazers_count":0,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T12:54:05.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tigerfintech.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}},"created_at":"2018-10-14T15:07:19.000Z","updated_at":"2021-08-05T09:16:48.000Z","dependencies_parsed_at":"2023-01-15T00:04:55.846Z","dependency_job_id":null,"html_url":"https://github.com/tigerfintech/gitlab-hook-handler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tigerfintech/gitlab-hook-handler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigerfintech%2Fgitlab-hook-handler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigerfintech%2Fgitlab-hook-handler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigerfintech%2Fgitlab-hook-handler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigerfintech%2Fgitlab-hook-handler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tigerfintech","download_url":"https://codeload.github.com/tigerfintech/gitlab-hook-handler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tigerfintech%2Fgitlab-hook-handler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262056525,"owners_count":23251691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-30T18:09:18.384Z","updated_at":"2026-04-28T13:35:39.268Z","avatar_url":"https://github.com/tigerfintech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Install\n\n    yarn add gitlab-hook-handler\n\n    // or\n\n    npm i gitlab-hook-handler\n\n\n### Usage with Koa\n\n\n    import Koa from 'koa';\n    import createHandler from 'gitlab-hook-handler';\n\n    const app = new Koa();\n\n    const handler = createHandler({\n        path: '/gitlab-webhook',\n        secret: 'xxx'  // optional\n    });\n\n    // or multiple hooks\n    const handler = createHandler([\n        {\n            path: '/hook1',\n            secret: 'xxx' // optional\n        },\n        {\n            path: '/hook2',\n            secret: 'xxx'  // optional\n        }\n    ])\n\n\n    // you can listen on merge_request, note, push, tag_push ...\n    handler.on('merge_request', function (event) {\n        const { eventName, payload, pathname, host, url, protocol } = event;\n\n        // do something\n    });\n\n    handler.on('*', function (event) {\n        const { eventName, payload, pathname, host, url, protocol } = event;\n\n        // do something\n    })","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigerfintech%2Fgitlab-hook-handler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftigerfintech%2Fgitlab-hook-handler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigerfintech%2Fgitlab-hook-handler/lists"}