UNPKG

@aradox/multi-orm

Version:

Type-safe ORM with multi-datasource support, row-level security, and Prisma-like API for PostgreSQL, SQL Server, and HTTP APIs

90 lines (89 loc) 2.22 kB
{ "name": "@aradox/multi-orm", "version": "1.0.7", "description": "Type-safe ORM with multi-datasource support, row-level security, and Prisma-like API for PostgreSQL, SQL Server, and HTTP APIs", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "bin": { "multi-orm": "dist/src/cli/index.js" }, "files": [ "dist/src/**/*", "README.md", "LICENSE", "docs/USER_GUIDE.md", "docs/QUICK_REFERENCE.md", "docs/HOOKS_MIDDLEWARE_GUIDE.md", "docs/SQL_LOGGING_GUIDE.md", "docs/CRUD_GUIDE.md", "docs/ENUM_GUIDE.md", "docs/AI_CODING_GUIDE.md", "database/setup-rls-postgres.sql", "database/setup-rls-sqlserver.sql" ], "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "vitest", "test:watch": "vitest --watch", "generate": "node dist/src/cli/index.js generate", "validate": "node dist/src/cli/index.js validate", "clean": "rimraf dist", "prepublishOnly": "npm run clean && npm run build && npm test", "prepack": "npm run build" }, "keywords": [ "orm", "prisma", "typescript", "multi-datasource", "sql-server", "postgresql", "http-api", "type-safe", "row-level-security", "rls", "rbac", "multi-tenant", "windows-auth", "middleware", "cross-datasource", "stitching", "api-client", "database" ], "author": "aradox", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/aradox/multi-orm.git" }, "bugs": { "url": "https://github.com/aradox/multi-orm/issues" }, "homepage": "https://github.com/aradox/multi-orm#readme", "engines": { "node": ">=18.0.0" }, "devDependencies": { "@types/node": "^22.10.1", "@types/pg": "^8.11.10", "rimraf": "^6.0.1", "typescript": "^5.7.2", "vitest": "^2.1.8" }, "dependencies": { "axios": "^1.7.9", "mongodb": "^6.11.0", "mssql": "^11.0.1", "mysql2": "^3.11.5", "odbc": "^2.4.9", "pg": "^8.13.1" }, "peerDependencies": { "typescript": ">=5.0.0" }, "publishConfig": { "access": "public" } }