{"id":24809483,"url":"https://github.com/slack-edge/slack-web-api-client","last_synced_at":"2025-04-07T10:28:06.653Z","repository":{"id":155769484,"uuid":"632721849","full_name":"slack-edge/slack-web-api-client","owner":"slack-edge","description":"Streamlined Slack Web API client for TypeScript","archived":false,"fork":false,"pushed_at":"2025-02-06T11:17:28.000Z","size":1418,"stargazers_count":37,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T12:58:08.134Z","etag":null,"topics":["chatbot","deno","nodejs","slack","slack-api","slack-bot","slackapi","typescript","web","web-api","webapi"],"latest_commit_sha":null,"homepage":"","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/slack-edge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-04-26T02:01:37.000Z","updated_at":"2025-02-13T00:43:35.000Z","dependencies_parsed_at":"2024-02-13T09:24:20.442Z","dependency_job_id":"2b6099cd-9492-46e2-b7ad-b1ab43be979f","html_url":"https://github.com/slack-edge/slack-web-api-client","commit_stats":{"total_commits":218,"total_committers":3,"mean_commits":72.66666666666667,"dds":"0.022935779816513735","last_synced_commit":"1f9c02023f23e79ec7b5c16844283ffd7b7b4323"},"previous_names":["slack-edge/slack-web-api-client"],"tags_count":76,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slack-edge%2Fslack-web-api-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slack-edge%2Fslack-web-api-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slack-edge%2Fslack-web-api-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slack-edge%2Fslack-web-api-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slack-edge","download_url":"https://codeload.github.com/slack-edge/slack-web-api-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247634844,"owners_count":20970613,"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":["chatbot","deno","nodejs","slack","slack-api","slack-bot","slackapi","typescript","web","web-api","webapi"],"created_at":"2025-01-30T11:07:36.328Z","updated_at":"2025-04-07T10:28:06.627Z","avatar_url":"https://github.com/slack-edge.png","language":"TypeScript","readme":"## Slack Web API Client for TypeScript\n\n[![npm version](https://badge.fury.io/js/slack-web-api-client.svg)](https://badge.fury.io/js/slack-web-api-client) \n[![deno module](https://shield.deno.dev/x/slack_web_api_client)](https://deno.land/x/slack_web_api_client)\n[![JSR](https://jsr.io/badges/@seratch/slack-web-api-client)](https://jsr.io/@seratch/slack-web-api-client)\n\nThe **slack-web-api-client** library is a type-safe Slack Web API client that provides several key benefits, including:\n* **A fetch-based implementation**, which is compatible with most runtimes\n* **Strong types for Web API responses and Block Kit**, which make coding enjoyable and predictable\n* **Zero additional dependencies**, allowing developers to integrate this library into their projects without any obstacles\n\nIf you're looking for a solution to utilize the full features of the Slack platform, [**slack-edge**](https://github.com/slack-edge/slack-edge) is the one for you. The **slack-edge** library uses this **slack-web-api-client** internally, making it compatible with most JavaScript/TypeScript runtimes.\n\n### Getting Started\n\n#### Working with the npm package\n\nTo install the **slack-web-api-client** library, simply use the standard npm/yarn command:\n```\nnpm i slack-web-api-client@latest\n```\n\nOnce you have added the **slack-web-api-client** library to your project's dependencies using the npm/yarn command, you can easily import any functionality you need from `\"slack-web-api-client\"` in your TypeScript code:\n\n```typescript\nimport { SlackAPIClient } from \"slack-web-api-client\";\n\nconst client = new SlackAPIClient(process.env.SLACK_BOT_TOKEN);\nconst response = await client.chat.postMessage({\n  channel: \"#random\",\n  text: \":wave: what's up?\",\n});\n```\n\nThe second argument of the constructor allows for optional customizations:\n\n```typescript\nconst client = new SlackAPIClient(process.env.SLACK_BOT_TOKEN, {\n  logLevel: \"DEBUG\", // default: \"INFO\"\n  throwSlackAPIError: false,  // default: true\n});\n```\n\nThis argument, if provided, allows for further configuration of **SlackAPIClient** instance to fit your specific needs.\n\n#### Working with the Deno module\n\nPlease refer to [README for the Deno module](https://github.com/slack-edge/slack-web-api-client/blob/main/src_deno/README.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslack-edge%2Fslack-web-api-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslack-edge%2Fslack-web-api-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslack-edge%2Fslack-web-api-client/lists"}