{"_id":"@aicryptocreator/chat-bot","_rev":"2-ba1c669aaac44cd46cba6a307acf77cb","name":"@aicryptocreator/chat-bot","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@aicryptocreator/chat-bot","version":"0.1.0","keywords":["react","chatbot","ai","typescript","ui"],"author":"","license":"MIT","_id":"@aicryptocreator/chat-bot@0.1.0","maintainers":[{"name":"aicryptocreator","email":"shiva@web5lab.net"}],"dist":{"shasum":"603f71c6383808557e2ef8cefc3764e763537a00","tarball":"https://registry.npmjs.org/@aicryptocreator/chat-bot/-/chat-bot-0.1.0.tgz","fileCount":7,"integrity":"sha512-dhG/G8EokzUIFtDCynYgdehFYyt/WtXJcQhxQe8np/6xRWuU8fcL1Tz6c9dGmN/WvJ01B2sewv70XTQBVT9+pw==","signatures":[{"sig":"MEYCIQDkj94KLTBEpI6nP/2Qlp3TWzvnxPU/K7l1nY/38pbnSgIhALVDLqUfEcZUbMKhdsgZ89Va66EBk3g3s1v71XjXXbTM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24389},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"eslint src/**/*.ts*","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts","clean":"rm -rf dist"},"_npmUser":{"name":"aicryptocreator","email":"shiva@web5lab.net"},"_npmVersion":"10.9.0","description":"A customizable AI chat bot component for React applications","directories":{},"_nodeVersion":"20.17.0","dependencies":{"lucide-react":"^0.344.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","vitest":"^1.3.1","postcss":"^8.4.35","typescript":"^5.3.3","tailwindcss":"^3.4.1","@types/react":"^18.2.0","autoprefixer":"^10.4.18","@types/react-dom":"^18.2.0"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat-bot_0.1.0_1736758989611_0.7607569236529845","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aicryptocreator/chat-bot","version":"0.1.1","keywords":["react","chatbot","ai","typescript","ui"],"author":"","license":"MIT","_id":"@aicryptocreator/chat-bot@0.1.1","maintainers":[{"name":"aicryptocreator","email":"shiva@web5lab.net"}],"dist":{"shasum":"ba7fbff0c76c6006b419a8d61193a51438464a8d","tarball":"https://registry.npmjs.org/@aicryptocreator/chat-bot/-/chat-bot-0.1.1.tgz","fileCount":9,"integrity":"sha512-uWoyYQTLyTO+Dg8134lnKlwoaWGoSWUTrxod5hg7BBUJn0+zylGyQsGkxoOuuqroQIiPKgn+rAB2lmBuKPtX2Q==","signatures":[{"sig":"MEYCIQDoI3fhXgvklFqMC4hRuVPr7AYLZ9I0wWloGeqnRQCu2AIhAJxinFdiPO/LTP6IyRoAmdY7W2oDC9ZuEG/GO2uExMPk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50822},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"eslint src/**/*.ts*","test":"vitest","build":"tsup src/index.ts --format cjs,esm --dts","clean":"rm -rf dist"},"_npmUser":{"name":"aicryptocreator","email":"shiva@web5lab.net"},"_npmVersion":"10.9.0","description":"A customizable AI chat bot component for React applications","directories":{},"_nodeVersion":"20.17.0","dependencies":{"lucide-react":"^0.344.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","vitest":"^1.3.1","postcss":"^8.4.35","typescript":"^5.3.3","tailwindcss":"^3.4.1","@types/react":"^18.2.0","autoprefixer":"^10.4.18","@types/react-dom":"^18.2.0"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat-bot_0.1.1_1736759117466_0.6439741993228427","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aicryptocreator/chat-bot","version":"0.1.2","description":"A customizable AI chat bot component for React applications","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"eslint src/**/*.ts*","clean":"rm -rf dist","test":"vitest"},"keywords":["react","chatbot","ai","typescript","ui"],"author":"","license":"MIT","peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"devDependencies":{"@types/react":"^18.2.0","@types/react-dom":"^18.2.0","autoprefixer":"^10.4.20","eslint":"^8.57.0","postcss":"^8.4.49","tailwindcss":"^3.4.17","tsup":"^8.0.2","typescript":"^5.3.3","vitest":"^1.3.1"},"dependencies":{"lucide-react":"^0.344.0"},"_id":"@aicryptocreator/chat-bot@0.1.2","_nodeVersion":"20.17.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-17JpJMEMkwT5mGg4ca8MOVV7ac77hufRoaR5qXM1UxbYTdKdqcatT+5mOi9j1THMvucMJcQwjQwAjjEtXv0eZQ==","shasum":"78f6dcf626bac1c6cbe0ca4227c43c6ac97395e4","tarball":"https://registry.npmjs.org/@aicryptocreator/chat-bot/-/chat-bot-0.1.2.tgz","fileCount":10,"unpackedSize":37804,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkbEP709W1TAb2Rla3c3ZHSizeIVdD/qYXDMjVu9V58wIhALbtFJ1p7+BsEEdunNbYxYgZ14Jap67hUXrvyYGvMBQ1"}]},"_npmUser":{"name":"aicryptocreator","email":"shiva@web5lab.net"},"directories":{},"maintainers":[{"name":"aicryptocreator","email":"shiva@web5lab.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chat-bot_0.1.2_1736760259717_0.6764443054527867"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-13T09:03:09.496Z","modified":"2025-01-13T09:24:20.043Z","0.1.0":"2025-01-13T09:03:09.785Z","0.1.1":"2025-01-13T09:05:17.649Z","0.1.2":"2025-01-13T09:24:19.891Z"},"license":"MIT","keywords":["react","chatbot","ai","typescript","ui"],"description":"A customizable AI chat bot component for React applications","maintainers":[{"name":"aicryptocreator","email":"shiva@web5lab.net"}],"readme":"# React AI Chatbot\n\nA customizable AI chat bot component for React applications.\n\n## Installation\n\n```bash\nnpm install @aicryptocreator/chat-bot\n```\n\n## Usage\n\n```tsx\nimport { ChatBot } from 'react-ai-chatbot';\n\nconst config = {\n  name: 'AI Assistant',\n  theme: 'light',\n  style: {\n    primaryColor: '#3b82f6',\n    fontFamily: 'Inter, system-ui, sans-serif',\n    borderRadius: '0.75rem'\n  },\n  features: {\n    fileUpload: true,\n    codeHighlighting: true,\n    markdownSupport: true,\n    voiceInput: true,\n    customActions: true\n  },\n  welcomeMessage: 'Hello! How can I help you today?'\n};\n\nfunction App() {\n  const handleSendMessage = async (message: string) => {\n    // Handle sending message to your AI backend\n    const response = await fetch('your-api-endpoint', {\n      method: 'POST',\n      body: JSON.stringify({ message })\n    });\n    const data = await response.json();\n    return data.response;\n  };\n\n  return (\n    <ChatBot\n      config={config}\n      onSendMessage={handleSendMessage}\n      onError={(error) => console.error(error)}\n    />\n  );\n}\n```\n\n## Features\n\n- Customizable themes and styles\n- File upload support\n- Voice input\n- Code highlighting\n- Markdown support\n- Custom actions\n- TypeScript support\n\n## Configuration\n\nThe `config` prop accepts the following options:\n\n```typescript\ninterface ChatBotConfig {\n  name: string;\n  theme: 'light' | 'dark' | 'auto';\n  logo?: string;\n  style: {\n    primaryColor: string;\n    fontFamily: string;\n    borderRadius: string;\n  };\n  features: {\n    fileUpload: boolean;\n    codeHighlighting: boolean;\n    markdownSupport: boolean;\n    voiceInput: boolean;\n    customActions: boolean;\n  };\n  welcomeMessage?: string;\n  placeholder?: string;\n  apiKey?: string;\n  apiEndpoint?: string;\n}\n```\n\n## License\n\nMIT","readmeFilename":"README.md"}