{"id":26172131,"url":"https://github.com/swellaby/slashhandler","last_synced_at":"2026-04-19T02:05:54.791Z","repository":{"id":32997251,"uuid":"137758245","full_name":"swellaby/slashhandler","owner":"swellaby","description":"Framework for building slack slashhandlers","archived":false,"fork":false,"pushed_at":"2023-01-06T01:34:07.000Z","size":1693,"stargazers_count":1,"open_issues_count":27,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T18:06:33.349Z","etag":null,"topics":["slack","slack-commands","slack-slash"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/swellaby.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}},"created_at":"2018-06-18T13:56:50.000Z","updated_at":"2022-01-14T23:32:46.000Z","dependencies_parsed_at":"2023-01-14T22:58:35.284Z","dependency_job_id":null,"html_url":"https://github.com/swellaby/slashhandler","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/swellaby/slashhandler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellaby%2Fslashhandler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellaby%2Fslashhandler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellaby%2Fslashhandler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellaby%2Fslashhandler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swellaby","download_url":"https://codeload.github.com/swellaby/slashhandler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swellaby%2Fslashhandler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265542401,"owners_count":23785219,"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":["slack","slack-commands","slack-slash"],"created_at":"2025-03-11T19:53:21.873Z","updated_at":"2026-04-19T02:05:54.737Z","avatar_url":"https://github.com/swellaby.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slashhandler\nFramework for building slash command handlers\n\n[![npm Version Badge][npm-version-badge]][npm-package-url]\n[![npm Downloads Badge][npm-downloads-badge]][npm-package-url]\n[![License Badge][license-badge]][license-url]  \n\n[![Linux CI Badge][linux-ci-badge]][linux-ci-url]\n[![Mac CI Badge][mac-ci-badge]][mac-ci-url]\n[![Windows CI Badge][windows-ci-badge]][windows-ci-url]  \n\n[![Test Results Badge][tests-badge]][tests-url]\n[![Coverage Badge][coverage-badge]][coverage-url]\n[![Sonar Quality GateBadge][quality-gate-badge]][sonar-project-url]  \n\n## How to use?\n\n1. New up a slackbot with the verification token from slack.\n2. Register commands using the `registerCommand` method.\n3. Pass slack requests into the bot using the `processMessage` method.\n\n### Examples\n\n* [Google Functions Simple](./examples/google-function.ts)\n* [Google Functions (full w/ deploy)](https://github.com/beverts312/soundboard-slackbot)\n* [Express Webserver Simple](./examples/express.ts)\n\n[npm-version-badge]: https://img.shields.io/npm/v/@swellaby/slashhandler?style=flat-square\n[npm-downloads-badge]: https://img.shields.io/npm/dt/@swellaby/slashhandler?style=flat-square\n[npm-package-url]: https://www.npmjs.com/package/slashhandler\n[license-url]: https://github.com/swellaby/slashhandler/blob/master/LICENSE\n[license-badge]: https://img.shields.io/github/license/swellaby/slashhandler?style=flat-square\u0026color=blue\n[linux-ci-badge]: https://img.shields.io/azure-devops/build/swellaby/opensource/163/master?label=linux%20build\u0026style=flat-square\n[linux-ci-url]: https://dev.azure.com/swellaby/OpenSource/_build/latest?definitionId=163\n[mac-ci-badge]: https://img.shields.io/azure-devops/build/swellaby/opensource/159/master?label=mac%20build\u0026style=flat-square\n[mac-ci-url]: https://dev.azure.com/swellaby/OpenSource/_build/latest?definitionId=159\n[windows-ci-badge]: https://img.shields.io/azure-devops/build/swellaby/opensource/160/master?label=windows%20build\u0026style=flat-square\n[windows-ci-url]: https://dev.azure.com/swellaby/OpenSource/_build/latest?definitionId=160\n[coverage-badge]: https://img.shields.io/azure-devops/coverage/swellaby/opensource/163/master?style=flat-square\n[coverage-url]: https://codecov.io/gh/swellaby/slashhandler\n[tests-badge]: https://img.shields.io/azure-devops/tests/swellaby/opensource/163/master?label=unit%20tests\u0026style=flat-square\n[tests-url]: https://dev.azure.com/swellaby/OpenSource/_build/latest?definitionId=163\u0026view=ms.vss-test-web.build-test-results-tab\n[quality-gate-badge]: https://img.shields.io/sonar/quality_gate/swellaby:slashhandler?server=https%3A%2F%2Fsonarcloud.io\u0026style=flat-square\n[sonar-project-url]: https://sonarcloud.io/dashboard?id=swellaby%3Aslashhandler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswellaby%2Fslashhandler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswellaby%2Fslashhandler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswellaby%2Fslashhandler/lists"}