{"_id":"@deux_labs/ai-assistant-kit","_rev":"3-0f9a66926e198ce57f0efb4fd33b12b3","name":"@deux_labs/ai-assistant-kit","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0":{"name":"@deux_labs/ai-assistant-kit","version":"1.0.0","keywords":["openrouter","ai","demo"],"author":{"name":"Provides a small kit to communicate with Openrouter API seamlessly."},"license":"MIT","_id":"@deux_labs/ai-assistant-kit@1.0.0","maintainers":[{"name":"_edwardlee","email":"nhathuyle083@outlook.com"}],"homepage":"https://github.com/deux-labs/openrouter-ai#readme","bugs":{"url":"https://github.com/deux-labs/openrouter-ai/issues"},"dist":{"shasum":"04bc6826d7dc265081bedfb9c098a33798785d78","tarball":"https://registry.npmjs.org/@deux_labs/ai-assistant-kit/-/ai-assistant-kit-1.0.0.tgz","fileCount":7,"integrity":"sha512-rEhxQQkyoarzdCQ5beFx46oomkbBuPQ4kTfswAxLWaGM/n1qwz1BoQE4GlSnCLNJeeqPfj+mLQAZRvWmTAS4Ow==","signatures":[{"sig":"MEYCIQDq+SvT1JoidW+rggtukZ/AkA1uY59CJDG3j6BXEeIuZAIhAPs/wAWq0Bx+/Qiu4vc/pfKx9NJ+15f20KW4B2xtB6N5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24364},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","default":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"5656f2314b2552cb3ad9110099134698c2f42eac","scripts":{"ci":"npm run typecheck && npm run test && npm run build && npm run check-exports","test":"vitest run","build":"tsup","typecheck":"tsc","check-exports":"attw --pack ."},"_npmUser":{"name":"_edwardlee","email":"nhathuyle083@outlook.com"},"repository":{"url":"git+https://github.com/deux-labs/openrouter-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"Provides a small kit to communicate with Openrouter API seamlessly.","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","dotenv":"^16.4.5","eslint":"^9.12.0","vitest":"^2.1.2","typescript":"^5.6.3","@types/node":"^22.7.5","@antfu/eslint-config":"^3.7.3","@arethetypeswrong/cli":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-kit_1.0.0_1728972483447_0.7289751777359446","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@deux_labs/ai-assistant-kit","version":"1.1.0","keywords":["openrouter","ai","demo"],"author":{"name":"Provides a small kit to communicate with Openrouter API seamlessly."},"license":"MIT","_id":"@deux_labs/ai-assistant-kit@1.1.0","maintainers":[{"name":"_edwardlee","email":"nhathuyle083@outlook.com"}],"homepage":"https://github.com/deux-labs/openrouter-ai#readme","bugs":{"url":"https://github.com/deux-labs/openrouter-ai/issues"},"dist":{"shasum":"6ac1b5a461503aa3d10e91d0f4ce502ac7eb2b4c","tarball":"https://registry.npmjs.org/@deux_labs/ai-assistant-kit/-/ai-assistant-kit-1.1.0.tgz","fileCount":7,"integrity":"sha512-ymS1R+54tnqTvi8E8nQ6JweLVUr9IVLKviourq75xYItMkqixwEnO8y5kX1Bknn18V9bZ0ttbrp1o/zNzjpk1A==","signatures":[{"sig":"MEYCIQCA9muq09VKJpOjr55rhZmRoJonxmS0PaQrMxbBA/B87wIhAJBL2DBTpsOb6ctperQ26cPOMBcoGK5toRPkama9UCoM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24364},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","default":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"1a5116cfd38a6bdca89f3789ce6ea40ce8b3e1ee","scripts":{"ci":"npm run typecheck && npm run test && npm run build && npm run check-exports","test":"vitest run","build":"tsup","typecheck":"tsc","check-exports":"attw --pack ."},"_npmUser":{"name":"_edwardlee","email":"nhathuyle083@outlook.com"},"repository":{"url":"git+https://github.com/deux-labs/openrouter-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"Provides a small kit to communicate with Openrouter API seamlessly.","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","dotenv":"^16.4.5","eslint":"^9.12.0","vitest":"^2.1.2","typescript":"^5.6.3","@types/node":"^22.7.5","@antfu/eslint-config":"^3.7.3","@arethetypeswrong/cli":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-kit_1.1.0_1728972756454_0.14426606202548453","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@deux_labs/ai-assistant-kit","version":"1.2.0","keywords":["openrouter","ai","demo"],"author":{"name":"Provides a small kit to communicate with Openrouter API seamlessly."},"license":"MIT","_id":"@deux_labs/ai-assistant-kit@1.2.0","maintainers":[{"name":"_edwardlee","email":"nhathuyle083@outlook.com"}],"homepage":"https://github.com/deux-labs/openrouter-ai#readme","bugs":{"url":"https://github.com/deux-labs/openrouter-ai/issues"},"dist":{"shasum":"85a10bdbb808c83eba3a3af847ae42b7f952cc30","tarball":"https://registry.npmjs.org/@deux_labs/ai-assistant-kit/-/ai-assistant-kit-1.2.0.tgz","fileCount":7,"integrity":"sha512-p9fQeI+HjU8H+38y8eBFyzx+aiFgifcsFVGxahKin53zmoo/PkrLPRidoe5Q+uAdrCSFiBC3AKhaQZhZFUxaeg==","signatures":[{"sig":"MEYCIQCyHsiN4bQtfrhBP+rRed9I9LviWHiu3KIjNYCWfKG+2QIhANguEJe+ePlqOsZXoJ/BcB6kagk7D7SwcWlQ0UAVRBFK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24364},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","default":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"d6f84e3368dc90ba864984830e4335e0e7e2627a","scripts":{"ci":"npm run typecheck && npm run test && npm run build && npm run check-exports","test":"vitest run","build":"tsup","typecheck":"tsc","check-exports":"attw --pack ."},"_npmUser":{"name":"_edwardlee","email":"nhathuyle083@outlook.com"},"repository":{"url":"git+https://github.com/deux-labs/openrouter-ai.git","type":"git"},"_npmVersion":"10.8.2","description":"Provides a small kit to communicate with Openrouter API seamlessly.","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","dotenv":"^16.4.5","eslint":"^9.12.0","vitest":"^2.1.2","typescript":"^5.6.3","@types/node":"^22.7.5","@antfu/eslint-config":"^3.7.3","@arethetypeswrong/cli":"^0.16.4"},"_npmOperationalInternal":{"tmp":"tmp/ai-assistant-kit_1.2.0_1728973348904_0.7948275917958303","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@deux_labs/ai-assistant-kit","type":"module","version":"1.2.2","description":"Provides a small kit to communicate with Openrouter API seamlessly.","author":{"name":"Provides a small kit to communicate with Openrouter API seamlessly."},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/deux-labs/openrouter-ai-assistant-kit.git"},"bugs":{"url":"https://github.com/deux-labs/openrouter-ai-assistant-kit/issues"},"keywords":["openrouter","ai","demo"],"exports":{"./package.json":"./package.json",".":{"import":"./dist/index.js","default":"./dist/index.cjs"}},"main":"./dist/index.js","publishConfig":{"access":"public"},"scripts":{"test":"vitest run","typecheck":"tsc","check-exports":"attw --pack .","build":"tsup","ci":"npm run typecheck && npm run test && npm run build && npm run check-exports"},"devDependencies":{"@antfu/eslint-config":"^3.7.3","@arethetypeswrong/cli":"^0.16.4","@types/node":"^22.7.5","dotenv":"^16.4.5","eslint":"^9.12.0","tsup":"^8.3.0","typescript":"^5.6.3","vitest":"^2.1.2"},"_id":"@deux_labs/ai-assistant-kit@1.2.2","gitHead":"13eb1d20301b8ed5b245e323a3258cedc317c43a","types":"./dist/index.d.ts","homepage":"https://github.com/deux-labs/openrouter-ai-assistant-kit#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Jn8MkIy+VO+uppxM4vS8OLA+FrbFuqeEN74eKxFHNZPoxpN0jA7ucrUASMNS34/JynrSu95ExTGSCjqqiROrKQ==","shasum":"fd30bfff369f0ba1d410e0d2365ed9635c4bbb00","tarball":"https://registry.npmjs.org/@deux_labs/ai-assistant-kit/-/ai-assistant-kit-1.2.2.tgz","fileCount":7,"unpackedSize":24960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXHLGejuihgFwj/BXsQzyTTgE6eUSoSlR9eoJFgqOxQAiEAnqiZl+9oNR5jcFmdlQ09sY/ObNQpE6IgzFYiRv4ewCA="}]},"_npmUser":{"name":"_edwardlee","email":"nhathuyle083@outlook.com"},"directories":{},"maintainers":[{"name":"_edwardlee","email":"nhathuyle083@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ai-assistant-kit_1.2.2_1728975146350_0.816977697320515"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-15T06:08:03.354Z","modified":"2024-10-15T06:52:26.694Z","1.0.0":"2024-10-15T06:08:03.639Z","1.1.0":"2024-10-15T06:12:36.627Z","1.2.0":"2024-10-15T06:22:29.089Z","1.2.2":"2024-10-15T06:52:26.528Z"},"bugs":{"url":"https://github.com/deux-labs/openrouter-ai-assistant-kit/issues"},"author":{"name":"Provides a small kit to communicate with Openrouter API seamlessly."},"license":"MIT","homepage":"https://github.com/deux-labs/openrouter-ai-assistant-kit#readme","keywords":["openrouter","ai","demo"],"repository":{"type":"git","url":"git+https://github.com/deux-labs/openrouter-ai-assistant-kit.git"},"description":"Provides a small kit to communicate with Openrouter API seamlessly.","maintainers":[{"name":"_edwardlee","email":"nhathuyle083@outlook.com"}],"readme":"## OpenRouter AI Assistant Small Kit\n\nProvides a small kit to communicate with Openrouter API seamlessly.\n\nExample:\n\n```js\nimport { OpenRouter } from '@deux_labs/ai-assistant-kit';\n\nconst openrouter = new OpenRouter({\n  apiKey: process.env.OPENROUTER_KEY,\n  model: 'nousresearch/hermes-3-llama-3.1-405b:free'\n});\n\nasync function main() {\n  const { data } = await openrouter.getResponseText({\n    messages: [{\n      content: 'Hi, I\\m Lee',\n      role: 'user'\n    }]\n  });\n\n  return data;\n}\n\nmain().then(data => console.log(data));\n\n// Result:\n// {\n//   role: 'assistant',\n//   content: \"Hello Lee! It's nice to meet you. How can I assist you today?\"\n// }\n```\n","readmeFilename":"README.md"}