UNPKG

@jmndao/mongoose-ai

Version:

AI-powered Mongoose plugin for intelligent document processing with auto-summarization, semantic search, MongoDB Vector Search, and function calling

127 lines (126 loc) 4.55 kB
{ "name": "@jmndao/mongoose-ai", "version": "1.6.0", "description": "AI-powered Mongoose plugin for intelligent document processing with auto-summarization, semantic search, MongoDB Vector Search, and function calling", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "files": [ "dist", "README.md", "LICENSE", "CHANGELOG.md" ], "scripts": { "build": "npm run clean && npm run build:tsup", "build:tsup": "tsup src/index.ts --dts --format cjs,esm --clean", "clean": "rimraf dist dist-test coverage", "dev": "tsup src/index.ts --watch --dts --format cjs,esm", "test": "jest --config jest.config.js", "test:watch": "jest --config jest.config.js --watch", "test:coverage": "jest --config jest.config.js --coverage", "test:ci": "jest --config jest.config.js --coverage --ci --watchAll=false", "lint": "eslint src tests --ext .ts", "lint:fix": "eslint src tests --ext .ts --fix", "typecheck": "tsc --noEmit", "typecheck:tests": "tsc --project tsconfig.test.json --noEmit", "validate": "npm run typecheck && npm run typecheck:tests && npm run lint && npm run test", "example:basic": "tsx examples/basic-usage.ts", "example:advanced": "tsx examples/advanced-usage.ts", "example:ollama": "tsx examples/ollama-usage.ts", "example:functions": "tsx examples/function-calling-usage.ts", "example:vector-search": "tsx examples/vector-search-usage.ts", "example:benchmark": "tsx examples/benchmark-demo.ts", "example:function-benchmark": "tsx examples/function-calling-benchmark.ts", "example:scaling": "tsx examples/scaling-test.ts", "docker:build": "docker compose build", "docker:benchmark": "docker compose run --rm mongoose-ai npm run example:benchmark", "docker:up": "docker compose up --build", "docker:down": "docker compose down", "changeset": "changeset", "prepare": "npm run build", "prepublishOnly": "npm run validate && npm run build", "version": "changeset version && node -e \"const pkg=require('./package.json'); const fs=require('fs'); const indexPath='src/index.ts'; const content=fs.readFileSync(indexPath, 'utf8'); fs.writeFileSync(indexPath, content.replace(/VERSION = \\\"[^\\\"]+\\\"/g, 'VERSION = \\\"' + pkg.version + '\\\"'));\" && git add src/index.ts" }, "keywords": [ "mongoose", "ai", "openai", "ollama", "local-llm", "anthropic", "function-calling", "semantic-search", "embedding", "summarization", "mongodb", "vector-search", "mongodb-atlas", "atlas-search", "nlp", "machine-learning", "typescript", "plugin", "artificial-intelligence", "document-processing", "text-analysis", "natural-language-processing", "automation", "gpt", "chatgpt", "claude", "similarity-search", "cosine-similarity", "vector-database" ], "author": { "name": "Jonathan Moussa NDAO", "email": "jmndao@gmail.com", "url": "https://github.com/jmndao" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/jmndao/mongoose-ai.git" }, "bugs": { "url": "https://github.com/jmndao/mongoose-ai/issues" }, "homepage": "https://mongoose-ai.vercel.app", "peerDependencies": { "mongoose": ">=7.0.0" }, "dependencies": { "openai": "^4.28.0" }, "devDependencies": { "@changesets/cli": "^2.31.0", "@types/jest": "^29.5.12", "@types/node": "^20.11.30", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "dotenv": "^16.4.5", "eslint": "^8.56.0", "jest": "^29.7.0", "mongoose": "^8.2.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.2", "tsup": "^8.0.2", "tsx": "^4.7.1", "typescript": "^5.4.2" }, "engines": { "node": ">=16.0.0", "npm": ">=8.0.0" }, "publishConfig": { "access": "public" } }