{"_id":"@aarekaz/switchboard","name":"@aarekaz/switchboard","dist-tags":{"latest":"0.3.5"},"versions":{"0.3.5":{"name":"@aarekaz/switchboard","version":"0.3.5","description":"Universal SDK for chat platforms - build bots once, deploy everywhere","keywords":["chat","bot","discord","slack","teams","google-chat","sdk"],"homepage":"https://github.com/Aarekaz/switchboard#readme","repository":{"type":"git","url":"git+https://github.com/Aarekaz/switchboard.git"},"license":"MIT","author":{"name":"Anurag Dhungana"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./discord":{"types":"./dist/discord.d.ts","import":"./dist/discord.js"},"./slack":{"types":"./dist/slack.d.ts","import":"./dist/slack.js"}},"dependencies":{"@aarekaz/switchboard-slack":"0.3.5","@aarekaz/switchboard-core":"0.3.5","@aarekaz/switchboard-discord":"0.3.5"},"devDependencies":{"@types/node":"^25.0.8","@typescript-eslint/eslint-plugin":"^8.53.0","@typescript-eslint/parser":"^8.53.0","@vitest/ui":"^4.0.17","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","prettier":"^3.7.4","tsup":"^8.5.1","typescript":"^5.9.3","vitest":"^4.0.17"},"publishConfig":{"access":"public"},"engines":{"node":">=18.0.0","pnpm":">=8.0.0"},"scripts":{"build":"pnpm -r --filter \"./packages/**\" build && pnpm build:umbrella","build:umbrella":"tsup","dev":"pnpm -r --parallel dev","test":"vitest","test:ui":"vitest --ui","test:coverage":"vitest --coverage","lint":"eslint .","lint:fix":"eslint . --fix","format":"prettier --write \"**/*.{ts,tsx,md,json}\"","format:check":"prettier --check \"**/*.{ts,tsx,md,json}\"","release":"bash scripts/release.sh","typecheck":"pnpm -r typecheck","clean":"pnpm -r clean && rm -rf node_modules"},"_id":"@aarekaz/switchboard@0.3.5","bugs":{"url":"https://github.com/Aarekaz/switchboard/issues"},"_integrity":"sha512-QbV8Wq42+GOhvwPfGIwaoxUJLSEfMgR/JKKzAexrsOVKj5RXIw7xKmbcApHwSkoeKnJ5mqywVwZnIzLfayhDLw==","_resolved":"/tmp/841fd20ab2db7d08b5057338d668b1c4/aarekaz-switchboard-0.3.5.tgz","_from":"file:aarekaz-switchboard-0.3.5.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-QbV8Wq42+GOhvwPfGIwaoxUJLSEfMgR/JKKzAexrsOVKj5RXIw7xKmbcApHwSkoeKnJ5mqywVwZnIzLfayhDLw==","shasum":"b8157bfa5d36018e183de4134708e09b9d88955a","tarball":"https://registry.npmjs.org/@aarekaz/switchboard/-/switchboard-0.3.5.tgz","fileCount":11,"unpackedSize":4447,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC73pHHt2ESQzrb4w8uWE4qPVSSkF3fhJ008PgIOWE64gIhALFVY9f0Y3bu3L1D9ZSEVMpj6st9MJq6QhbXW26RwNzZ"}]},"_npmUser":{"name":"aarekaz","email":"anuragdhungana5@gmail.com"},"directories":{},"maintainers":[{"name":"aarekaz","email":"anuragdhungana5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/switchboard_0.3.5_1768349421977_0.11305376334929873"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-14T00:10:21.922Z","0.3.5":"2026-01-14T00:10:22.146Z","modified":"2026-01-14T00:10:22.296Z"},"maintainers":[{"name":"aarekaz","email":"anuragdhungana5@gmail.com"}],"description":"Universal SDK for chat platforms - build bots once, deploy everywhere","homepage":"https://github.com/Aarekaz/switchboard#readme","keywords":["chat","bot","discord","slack","teams","google-chat","sdk"],"repository":{"type":"git","url":"git+https://github.com/Aarekaz/switchboard.git"},"author":{"name":"Anurag Dhungana"},"bugs":{"url":"https://github.com/Aarekaz/switchboard/issues"},"license":"MIT","readme":"# Switchboard (v0.3.3)\n\n**Build chat bots once, deploy everywhere.**\n\nSwitchboard is a universal SDK for chat platforms that enables developers to build bots once and deploy them seamlessly across Slack, Teams, Discord, and Google Chat.\n\n<img width=\"1176\" height=\"1042\" alt=\"carbon\" src=\"https://github.com/user-attachments/assets/415332a5-b66a-4522-a816-d096c6b64aa6\" />\n\n## Installation\n\n```bash\npnpm add @aarekaz/switchboard\n```\n\n## Quick Start\n\n```ts\nimport { createBot } from '@aarekaz/switchboard';\nimport '@aarekaz/switchboard/discord';\n\nconst bot = createBot({\n  token: process.env.DISCORD_TOKEN,\n  platform: 'discord',\n});\n```\n\nSwap platforms by changing one line:\n\n```ts\nimport '@aarekaz/switchboard/slack';\n```\n\n## Design Philosophy that I am drilling in this SDK\n\n**\"Pit of Success\"** - Make the right thing the easiest thing.\n\n1. **Platforms are implementation details** - Your bot logic should be platform-agnostic\n2. **One Line Swap** - Switching platforms should require changing exactly one line\n3. **Progressive Disclosure** - Start simple (90% use cases), add power when needed (10% use cases)\n4. **Type Safety as a Feature** - Full TypeScript support without manual type annotations\n\n","readmeFilename":"README.md","_rev":"1-07bf35fcb94bac0b9025f965abe631ca"}