{"_id":"@an5/orm","_rev":"9-4e323204a5af68ceb434c9a353a43185","name":"@an5/orm","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"@an5/orm","version":"1.0.0","license":"MIT","_id":"@an5/orm@1.0.0","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"dist":{"shasum":"851843e51c797ef2237d3510f3a1df0cf3a8b590","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.0.tgz","fileCount":25,"integrity":"sha512-iGTXeDUSPJiMafiTkVm7FMUCUo27JGciLOlnjfUVP6T6pTE+0Gtf9/F2X5WmA+k8rTp4oOGoEcc7I63g88sG/Q==","signatures":[{"sig":"MEUCIHXacB+GzcZ46mvO5euFhxcayEsr/dHVAN6m5UI40stxAiEAue+reWIEsmzF3fjvYkrllB68qjZ6rxQ4rWOPbbbUfis=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185928},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.4","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"24.9.0","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.11.0","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.0_1785221349081_0.05968715065396801","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@an5/orm","version":"1.0.1","license":"MIT","_id":"@an5/orm@1.0.1","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"a8e54603b450125e7af52bdb76fa6cb0d30681a4","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.1.tgz","fileCount":40,"integrity":"sha512-m+y4/gizQ1vbMGYePBfsU8pdUQDNiu4KIKm28vdC2DYlwaIGXy0Jr7iQheywQAi98L4Cg6rQBMq7Yf01Bb6IMg==","signatures":[{"sig":"MEUCIQCAz3fkc+ZMzlg4bGKB68LjepmVcE1ePijxIHzVgg+ARwIgSYK+x5HGPtbQ0Ok6D6i2ST71geoP44ScJO2uxEbQUP4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":245226},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.4","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"24.9.0","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.11.0","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.1_1785221862779_0.5231246549844693","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@an5/orm","version":"1.0.2","license":"MIT","_id":"@an5/orm@1.0.2","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"0592ae4154b1996f6f2d762533fe151574797064","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.2.tgz","fileCount":40,"integrity":"sha512-piRE2WkaxBN/pQOoZ9eDrR+xXNv5T6Gy1oyfPqnwe2EfVWA/O8qLQ23gjVz4pNPyMf90KKOu59Lo6jh6TdDgBw==","signatures":[{"sig":"MEYCIQC2LqOyFB5GYLMeVUXXrK4Ycd4YezJJQ2d7FnJZVl7MsQIhAJx1OACLP7K7ciltPYVA1319fNkaSORY8t/N+6mE96BB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":248665},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.4","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"24.9.0","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.11.0","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.2_1785227791782_0.23464032563255","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@an5/orm","version":"1.0.3","license":"MIT","_id":"@an5/orm@1.0.3","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"444478c5062c4b590dfd9d6e443ffde08ca9e6ce","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.3.tgz","fileCount":40,"integrity":"sha512-0/iDhENWghR/8zxqXuEdXJfx5k31jh1Gg16+ZwarbgeXUZ3cZ4okAABuD/s8SVAEEMNA8u2vec98VliK+P4x8w==","signatures":[{"sig":"MEUCIQCmRxD3S2wJlkVygYUWZbhfTra2YOKcP8FPYhoSTLxxMQIgRpSH1W2n8pK3LxDhfMUhKipExeo6SIvPpxK0Bb8DAtg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":246127},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.4","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"24.9.0","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.11.0","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.3_1785228360483_0.5186775024359866","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@an5/orm","version":"1.0.4","license":"MIT","_id":"@an5/orm@1.0.4","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"4d8c1d1c9decb28a12d8fc5ec64655c9d8229180","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.4.tgz","fileCount":40,"integrity":"sha512-66dGKCWn9hKAl1ZfL+pzI0Jak7/kwhRAZDjqE+eBKUYoEoz4rgtKzLLIQjoyr9oQFE8KkBkPGesObaLybCXLgg==","signatures":[{"sig":"MEUCIQCV+tnjb2vhQjsf1qssU/NGGY3ACIPVqEekwX4pWGcKBgIgR4Tu8rJQblPpjriNZ0enqjznXBgwEaRhjQlCFDBM4yA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":246896},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.4","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"24.9.0","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.11.0","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.4_1785230604425_0.8608783769449633","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@an5/orm","version":"1.0.5","license":"MIT","_id":"@an5/orm@1.0.5","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"f6d9a47fbefdf41e9eaa85e31e24453dc581870d","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.5.tgz","fileCount":40,"integrity":"sha512-mCLbIiG9TGfEiFEPltj5ndkbP3YzE6uon5EbJBQlQRnx+pFBqIvyD2bxJOJCE7E38o7QLlzTk73pgmv7csqI3A==","signatures":[{"sig":"MEYCIQDdHH2BIncOnq4QwxIv4kVd696MNR/IxIc9lCPniiKYxwIhAJmE7Fp9pFnrXhg/RP39GNpRiZ9aI423e3CeoRkxkTua","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":249402},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.4","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"24.9.0","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.19.43","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.5_1785230823990_0.8492621871791666","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@an5/orm","version":"1.0.6","license":"MIT","_id":"@an5/orm@1.0.6","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5Orm#readme","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"489d62b2d25fb8d21e4952d004ae26fe39f2e6de","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.6.tgz","fileCount":40,"integrity":"sha512-opT8DWwZhr1NKEZmoZQ4jL6QVH6NABhQWp3PAWwd5+KZeuXCu/7TQCE18ufycbWkqdy9athMmy7w7iPVQy2u3w==","signatures":[{"sig":"MEUCIQCVXqYXmZcrOZl3ec1A3s+wolqA8QZHNxOLJ3ZFbQRxCAIgTURp8aFQw8tupG1mEHnjnMzd1lP+xdoSTB/h/xAaqdU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":248051},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.8.2","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"20.20.2","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.19.43","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.6_1785508082555_0.907484774104877","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@an5/orm","version":"1.0.7","author":{"name":"an5ORM"},"license":"MIT","_id":"@an5/orm@1.0.7","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"homepage":"https://github.com/an5ORM/an5","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"bin":{"an5":"dist/cli.js","an5-orm":"dist/cli.js"},"dist":{"shasum":"be0745727eea92a25f759574d5983a1365c7ec2d","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.7.tgz","fileCount":40,"integrity":"sha512-T65XMmWKg7VNQufRclnPec6OCE6jgPqM13v+gD882gyQWyvfzlLI/9DzaLOEfTY617ID/fF8WeU6wOKOqV6liA==","signatures":[{"sig":"MEYCIQCqZ/qRAM8hmx2eW9050x92/iitBQ42IQ6GS+8X1+L1BAIhAPKI+UZp/SpPz9npxXtxC3UKCQ04xaGy+gx6Kuv0R3AP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":248586},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"node test/smoke.test.js","db:pull":"npx tsx pull.ts","db:push":"npx tsx push.ts","db:seed":"npx tsx seed.ts","release":"node scripts/release.js","generate":"npx tsx generator/src/index.ts","test:unit":"node test/unit.test.js","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","release:cli":"npx tsx scripts/release-cli.ts","test:generator":"npm run generate && node test/generator.test.js","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:status":"npx tsx migrate.ts status","db:migrate:generate":"npx tsx migrate.ts generate"},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"repository":{"url":"git+https://github.com/an5ORM/an5Orm.git","type":"git"},"_npmVersion":"10.9.8","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","directories":{},"_nodeVersion":"22.23.1","dependencies":{"mssql":"^12.5.5","dotenv":"^16.4.5","bcryptjs":"^2.4.3","@an5/adapters":"^0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^6.0.3","@types/node":"^20.19.43","@types/mssql":"^9.1.8","@types/bcryptjs":"^2.4.6"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.7_1785574960633_0.575806025979333","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@an5/orm","version":"1.0.8","description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","license":"MIT","main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"an5ORM"},"homepage":"https://github.com/an5ORM/an5","repository":{"type":"git","url":"git+https://github.com/an5ORM/an5Orm.git"},"scripts":{"generate":"npx tsx generator/src/index.ts","db:push":"npx tsx push.ts","db:pull":"npx tsx pull.ts","db:seed":"npx tsx seed.ts","db:cleanup":"npx tsx cleanup.ts","db:migrate":"npx tsx migrate.ts","db:migrate:diff":"npx tsx migrate.ts diff","db:migrate:generate":"npx tsx migrate.ts generate","db:migrate:status":"npx tsx migrate.ts status","release:cli":"npx tsx scripts/release-cli.ts","release":"node scripts/release.js","test":"node test/smoke.test.js","test:unit":"node test/unit.test.js","test:generator":"npm run generate && node test/generator.test.js"},"dependencies":{"@an5/adapters":"^0.2.4","bcryptjs":"^2.4.3","dotenv":"^16.4.5","mssql":"^12.5.5"},"devDependencies":{"@types/bcryptjs":"^2.4.6","@types/mssql":"^9.1.8","@types/node":"^20.19.43","tsx":"^4.7.1","typescript":"^6.0.3"},"publishConfig":{"access":"public"},"_id":"@an5/orm@1.0.8","bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"_nodeVersion":"24.17.0","_npmVersion":"12.0.1","dist":{"integrity":"sha512-TFZhIxAL0zD3VZ1+g+yU2iv6akijxO+bc8QCfWvl0N7EuKsTst7Cg/tUJHG7o7tp2UULrb4n9yh6eg9wP5HAGw==","shasum":"41d194c7d0d24a77b3059e51144fc16bff59e758","tarball":"https://registry.npmjs.org/@an5/orm/-/orm-1.0.8.tgz","fileCount":41,"unpackedSize":205536,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDT9lnUW8S4Tzd9m+hJ0YBIoX1LE6zZ7Zc93uTWd1LnvgIgXs6+hzeFkSHtS4UNsRfNsyfRKn+4s0x16LmxrKfHlYs="}]},"_npmUser":{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"},"directories":{},"maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/orm_1.0.8_1785587405227_0.5445850954246745"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-28T06:49:08.944Z","modified":"2026-08-01T12:30:05.633Z","1.0.0":"2026-07-28T06:49:09.208Z","1.0.1":"2026-07-28T06:57:42.943Z","1.0.2":"2026-07-28T08:36:31.918Z","1.0.3":"2026-07-28T08:46:00.628Z","1.0.4":"2026-07-28T09:23:24.570Z","1.0.5":"2026-07-28T09:27:04.143Z","1.0.6":"2026-07-31T14:28:02.710Z","1.0.7":"2026-08-01T09:02:40.797Z","1.0.8":"2026-08-01T12:30:05.381Z"},"bugs":{"url":"https://github.com/an5ORM/an5Orm/issues"},"author":{"name":"an5ORM"},"license":"MIT","homepage":"https://github.com/an5ORM/an5","repository":{"type":"git","url":"git+https://github.com/an5ORM/an5Orm.git"},"description":"The lightweight ORM for SQL Server with support for TypeScript, Python, and .NET (C#).","maintainers":[{"name":"n2flowjs-bot","email":"n2flowjs@gmail.com"}],"readme":"# @an5/orm\r\n\r\nSQL Server ORM. Proxy client. CRUD. Vector search. Middleware. Raw queries. Transactions.\r\n\r\n## Features\r\n\r\n-   **Proxy Client.** Model access. `db.modelName` syntax.\r\n-   **CRUD.** `findMany`, `findFirst`, `findUnique`, `create`, `update`, `delete`, `upsert`.\r\n-   **Advanced Queries.** OR/AND, nested relations, aggregates, `groupBy`.\r\n-   **Vector Search.** Native SQL Server `VECTOR_DISTANCE`. In-memory fallback.\r\n-   **Middleware.** Hook ORM operations: logging, auth, validation.\r\n-   **Raw Queries.** `$queryRaw`, `$executeRaw`. Auto `NOLOCK`.\r\n-   **Transactions.** `$transaction`. Rollback support.\r\n-   **Schema Generator.** Parse `.an5` files. Generate TypeScript/Python/.NET code.\r\n\r\n## Quick Start\r\n\r\n### Installation\r\n\r\n#### TypeScript / Node.js\r\n```bash\r\nnpm install @an5/orm\r\n```\r\n\r\n#### Python\r\n```bash\r\npip install an5-orm\r\n```\r\n\r\n### Configuration\r\n\r\n```bash\r\ncp .env.example .env\r\n# Edit .env. Set DATABASE_URL.\r\n```\r\n\r\n### Development Commands\r\n\r\nRun from the `an5Orm/` repository directory (no separate CLI binary is shipped):\r\n\r\n```bash\r\n# Generate client code from schema\r\nnpm run generate\r\n\r\n# Push schema to database\r\nnpm run db:push\r\n\r\n# Pull schema from database\r\nnpm run db:pull\r\n\r\n# Seed database\r\nnpm run db:seed\r\n\r\n# Compare schema with database\r\nnpm run db:migrate diff\r\n\r\n# Generate migration SQL / show status\r\nnpm run db:migrate:generate\r\nnpm run db:migrate:status\r\n\r\n# Run tests\r\nnpm test\r\n```\r\n\r\n## Usage\r\n\r\n```typescript\r\nimport { An5ORM } from '@an5/orm';\r\n\r\nconst db = new An5ORM();\r\n```\r\n\r\nThe default executor reads the `DATABASE_URL` environment variable. Schema metadata\r\n(model→table mapping, relations, field types) is auto-loaded from the ORM's own generated\r\nmetadata file `an5Metadata.ts` (created by `npm run generate`, configured via\r\n`outputs.typescript.ormMetadataFile`). The ORM owns this metadata locally — it never\r\nimports from the generated client package (the client is generated *from* the ORM).\r\n\r\nTo provide metadata explicitly instead:\r\n\r\n```typescript\r\nimport { An5ORM } from '@an5/orm';\r\nimport { modelToTable, relationMap, modelFields } from './an5Metadata';\r\n\r\nconst db = new An5ORM(undefined, { modelToTable, relationMap, modelFields });\r\n```\r\n\r\n// CRUD Operations\r\nconst users = await db.user.findMany({\r\n  where: { email: { contains: '@example.com' } },\r\n  orderBy: { createdAt: 'desc' },\r\n  take: 10,\r\n});\r\n\r\nconst user = await db.user.create({\r\n  data: { email: 'john@example.com', name: 'John' },\r\n});\r\n\r\n// Relations\r\nconst orders = await db.user.findMany({\r\n  include: { orders: true },\r\n});\r\n\r\n// Vector Search\r\nconst similar = await db.document.vectorSearch({\r\n  vector: [0.1, 0.2, 0.3],\r\n  take: 5,\r\n  distanceMetric: 'cosine',\r\n});\r\n\r\n// Transactions\r\nawait db.$transaction(async (tx) => {\r\n  const user = await tx.user.create({ data: { email: 'jane@example.com' } });\r\n  await tx.order.create({ data: { userId: user.id, total: 100 } });\r\n});\r\n\r\n// Raw Queries\r\nconst results = await db.$queryRaw`SELECT * FROM users WHERE id = ${id}`;\r\n```\r\n\r\n## Schema Definition\r\n\r\nSchema files: `.an5`. Path: `an5Schema/`. SQL Server types.\r\n\r\n```an5\r\nmodel User {\r\n  id        NVARCHAR(1000) @id @default(uuid())\r\n  email     NVARCHAR(255)  @unique\r\n  name      NVARCHAR(255)?\r\n  createdAt DATETIME2      @default(now())\r\n  orders    Order[]\r\n\r\n  @@map(\"users\")\r\n}\r\n\r\nmodel Order {\r\n  id        NVARCHAR(1000) @id @default(uuid())\r\n  userId    NVARCHAR(1000)\r\n  total     INT            @default(0)\r\n  user      User           @relation(fields: [userId], references: [id])\r\n\r\n  @@map(\"orders\")\r\n}\r\n```\r\n\r\n## Supported SQL Server Types\r\n\r\nType mapping: `.an5` to TypeScript.\r\n\r\n| Schema Type | TypeScript |\r\n|-------------|------------|\r\n| `NVARCHAR(n)`, `VARCHAR(n)`, `CHAR(n)`, `TEXT` | `string` |\r\n| `INT`, `SMALLINT`, `TINYINT`, `FLOAT`, `REAL`, `DECIMAL`, `NUMERIC` | `number` |\r\n| `BIGINT` | `number \\| bigint` |\r\n| `BIT` | `boolean` |\r\n| `DATETIME`, `DATETIME2`, `DATE`, `TIME` | `Date` |\r\n| `UNIQUEIDENTIFIER` | `string` |\r\n| `VARBINARY`, `BINARY`, `IMAGE` | `Buffer` |\r\n\r\n## Testing\r\n\r\n```bash\r\n# Unit tests\r\nnode test/unit.test.js\r\n\r\n# Generator tests\r\nnode test/generator.test.js\r\n\r\n# Smoke test\r\nnpm test\r\n```\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}