{ "name": "mem0ai", "version": "3.0.13", "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" } }, "files": [ "dist" ], "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:ci": "jest --coverage --ci", "test:unit": "jest --coverage --ci --testPathIgnorePatterns='/node_modules/' '/dist/' 'integration'", "test:integration": "jest --config jest.integration.config.js --forceExit", "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/**" ] }, "repository": { "type": "git", "url": "https://github.com/mem0ai/mem0", "directory": "mem0-ts" }, "keywords": [ "mem0", "api", "client", "memory", "llm", "long-term-memory", "ai" ], "author": "Deshraj Yadav", "license": "Apache-2.0", "devDependencies": { "@types/better-sqlite3": "^7.6.13", "@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.16.0", "openai": "^4.93.0", "uuid": "^11.1.1", "zod": "^3.24.1" }, "peerDependencies": { "@anthropic-ai/sdk": "^0.40.1", "@azure/identity": "^4.0.0", "@azure/search-documents": "^12.0.0", "@cloudflare/workers-types": "^4.20250504.0", "@google/genai": "^1.40.0", "@langchain/core": "^1.1.47", "@mistralai/mistralai": "^1.5.2", "@qdrant/js-client-rest": "^1.18.0", "@supabase/supabase-js": "^2.49.1", "@types/jest": "29.5.14", "@types/pg": "8.11.0", "better-sqlite3": "^12.6.2", "cloudflare": "^4.2.0", "groq-sdk": "0.3.0", "ollama": "^0.5.14", "pg": "8.11.3", "redis": "^4.6.13", "compromise": "^14.0.0", "natural": "^8.0.1" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b", "pnpm": { "onlyBuiltDependencies": [ "esbuild", "better-sqlite3" ], "overrides": { "form-data@<4.0.6": ">=4.0.6", "picomatch@<2.3.2": "^2.3.2", "picomatch@>=4.0.0 <4.0.4": "^4.0.4", "jws@4.0.0": "4.0.1", "js-yaml@<3.14.2": ">=3.14.2", "langsmith@<0.6.0": "^0.6.0", "minimatch@<3.1.3": "^3.1.3", "minimatch@>=5.0.0 <5.1.8": "^5.1.8", "minimatch@>=9.0.0 <9.0.7": "^9.0.7", "path-to-regexp@>=8.0.0 <8.4.0": "^8.4.0", "postcss@<8.5.10": ">=8.5.10", "uuid@<11.1.1": ">=11.1.1", "ws@>=8.0.0 <8.20.1": ">=8.20.1", "rollup@>=4.0.0 <4.59.0": "^4.59.0", "tar-fs@>=2.0.0 <2.1.4": "^2.1.4", "glob@>=10.2.0 <10.5.0": "^10.5.0", "@modelcontextprotocol/sdk": "^1.25.4", "esbuild": ">=0.28.1", "undici@<6.27.0": ">=6.27.0 <8.0.0" } } }