{"_id":"@aravshakya/mem0-custom","name":"@aravshakya/mem0-custom","dist-tags":{"latest":"2.1.26"},"versions":{"2.1.26":{"name":"@aravshakya/mem0-custom","version":"2.1.26","description":"The Memory Layer For Your AI Apps","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/index.d.ts"],"oss":["./dist/oss/index.d.ts"]}},"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","import":"./dist/index.mjs"},"./oss":{"types":"./dist/oss/index.d.ts","require":"./dist/oss/index.js","import":"./dist/oss/index.mjs"}},"scripts":{"clean":"rimraf dist","build":"npm run clean && npx prettier --check . && npx tsup","dev":"npx nodemon","start":"pnpm run example memory","example":"ts-node src/oss/examples/vector-stores/index.ts","test":"jest","test:ts":"jest --config jest.config.js","test:watch":"jest --config jest.config.js --watch","format":"npm run clean && prettier --write .","format:check":"npm run clean && prettier --check ."},"tsup":{"entry":["src/index.ts"],"format":["cjs","esm"],"dts":{"resolve":true},"splitting":false,"sourcemap":true,"clean":true,"treeshake":true,"minify":false,"external":["@mem0/community"],"noExternal":["!src/community/**"]},"keywords":["mem0","api","client","memory","llm","long-term-memory","ai"],"author":{"name":"Deshraj Yadav"},"license":"Apache-2.0","devDependencies":{"@types/node":"^22.7.6","@types/uuid":"^9.0.8","dotenv":"^16.4.5","fix-tsup-cjs":"^1.2.0","jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.5.2","rimraf":"^5.0.5","ts-jest":"^29.2.6","ts-node":"^10.9.2","tsup":"^8.3.0","typescript":"5.5.4"},"dependencies":{"axios":"1.7.7","openai":"^4.93.0","uuid":"9.0.1","zod":"^3.24.1"},"peerDependencies":{"@anthropic-ai/sdk":"^0.40.1","@google/genai":"^0.7.0","@mistralai/mistralai":"^1.5.2","@qdrant/js-client-rest":"1.13.0","@supabase/supabase-js":"^2.49.1","@types/jest":"29.5.14","@types/pg":"8.11.0","@types/sqlite3":"3.1.11","groq-sdk":"0.3.0","@langchain/core":"^0.3.44","neo4j-driver":"^5.28.1","ollama":"^0.5.14","pg":"8.11.3","redis":"^4.6.13","sqlite3":"5.1.7","together-ai":"^0.16.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"packageManager":"pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b","_id":"@aravshakya/mem0-custom@2.1.26","gitHead":"7daf7d181f9df25d33caa4ec60caed9e429aae2a","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-CPzMBQVhWWt6WwjJEYdnGQD10iv2QA3rQI3r4BDywAS9/4IXY7DGsS3pDugzHiUV4RhbRYSQYLsLnyWiU5A94w==","shasum":"b2418f2767486aa8d1e33163e2d874adf9c0ddd1","tarball":"https://registry.npmjs.org/@aravshakya/mem0-custom/-/mem0-custom-2.1.26.tgz","fileCount":14,"unpackedSize":1032973,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEk0B840xNY6zSN1HZFyXoBxUb2mSSmFJWS3k7Ft3EsbAiEA8wh3okKK2FKYBeuiphmQR8Ho9Pc8Y3XXIywn05EajLY="}]},"_npmUser":{"name":"aravshakya","email":"itsarav.shakya@gmail.com"},"directories":{},"maintainers":[{"name":"aravshakya","email":"itsarav.shakya@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mem0-custom_2.1.26_1748423157106_0.6681472508766246"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-28T09:05:56.991Z","2.1.26":"2025-05-28T09:05:57.338Z","modified":"2025-05-28T09:05:57.604Z"},"maintainers":[{"name":"aravshakya","email":"itsarav.shakya@gmail.com"}],"description":"The Memory Layer For Your AI Apps","keywords":["mem0","api","client","memory","llm","long-term-memory","ai"],"author":{"name":"Deshraj Yadav"},"license":"Apache-2.0","readme":"# Mem0 - The Memory Layer for Your AI Apps\n\nMem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users. We offer both cloud and open-source solutions to cater to different needs.\n\nSee the complete [OSS Docs](https://docs.mem0.ai/open-source-typescript/quickstart).\nSee the complete [Platform API Reference](https://docs.mem0.ai/api-reference/overview).\n\n## 1. Installation\n\nFor the open-source version, you can install the Mem0 package using npm:\n\n```bash\nnpm i mem0ai\n```\n\n## 2. API Key Setup\n\nFor the cloud offering, sign in to [Mem0 Platform](https://app.mem0.ai/dashboard/api-keys) to obtain your API Key.\n\n## 3. Client Features\n\n### Cloud Offering\n\nThe cloud version provides a comprehensive set of features, including:\n\n- **Memory Operations**: Perform CRUD operations on memories.\n- **Search Capabilities**: Search for relevant memories using advanced filters.\n- **Memory History**: Track changes to memories over time.\n- **Error Handling**: Robust error handling for API-related issues.\n- **Async/Await Support**: All methods return promises for easy integration.\n\n### Open-Source Offering\n\nThe open-source version includes the following top features:\n\n- **Memory Management**: Add, update, delete, and retrieve memories.\n- **Vector Store Integration**: Supports various vector store providers for efficient memory retrieval.\n- **LLM Support**: Integrates with multiple LLM providers for generating responses.\n- **Customizable Configuration**: Easily configure memory settings and providers.\n- **SQLite Storage**: Use SQLite for memory history management.\n\n## 4. Memory Operations\n\nMem0 provides a simple and customizable interface for performing memory operations. You can create long-term and short-term memories, search for relevant memories, and manage memory history.\n\n## 5. Error Handling\n\nThe MemoryClient throws errors for any API-related issues. You can catch and handle these errors effectively.\n\n## 6. Using with async/await\n\nAll methods of the MemoryClient return promises, allowing for seamless integration with async/await syntax.\n\n## 7. Testing the Client\n\nTo test the MemoryClient in a Node.js environment, you can create a simple script to verify the functionality of memory operations.\n\n## Getting Help\n\nIf you have any questions or need assistance, please reach out to us:\n\n- Email: founders@mem0.ai\n- [Join our discord community](https://mem0.ai/discord)\n- [Join our slack community](https://mem0.ai/slack)\n- GitHub Issues: [Report bugs or request features](https://github.com/mem0ai/mem0ai-node/issues)\n","readmeFilename":"README.md","_rev":"1-e51262c7a6418a6694d7ab4a89258aeb"}