{"_id":"@bullet-js/orm","_rev":"4-c702ab3926a056a320feb46fc009f302","name":"@bullet-js/orm","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@bullet-js/orm","version":"1.0.0","_id":"@bullet-js/orm@1.0.0","maintainers":[{"name":"shkhalid","email":"shahkhalid.me@gmail.com"}],"dist":{"shasum":"f4b487a330c7f028ec30311ab4db17608b9fb022","tarball":"https://registry.npmjs.org/@bullet-js/orm/-/orm-1.0.0.tgz","fileCount":24,"integrity":"sha512-ahL1SXsmlf+KZIrAjxsSmhzNr1seyfYgmh+Qa8goUxWdO8XEcoDtQwhKCcWCVRTtJUGeU3BZ51OA6suZaz4uHw==","signatures":[{"sig":"MEUCIAHmj2MTbsx/gS3UVhFphxCSWWak2Hm8Zbm1yux1Nou/AiEA+UfrJhk4Zv770gLm791+0E9M1IHdVabd/g3MYazB/b0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39930},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c58eafaf138d45b1d843620c9bf595583dac7c67","scripts":{"build":"tsc"},"_npmUser":{"name":"shkhalid","email":"shahkhalid.me@gmail.com"},"_npmVersion":"11.7.0","description":"The official BulletJS ORM. A high-performance, developer-friendly database layer powered by [Kysely](https://kysely.dev).","directories":{},"_nodeVersion":"22.21.1","dependencies":{"pg":"^8.16.3","tarn":"^3.0.2","mysql2":"^3.16.0","tedious":"^19.2.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"kysely":"^0.28.9","bun-types":"latest","typescript":"^5.0.0","@types/node":"^25.0.3"},"peerDependencies":{"kysely":"^0.27.0"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.0_1767627043912_0.7313767679296244","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bullet-js/orm","version":"1.0.1","_id":"@bullet-js/orm@1.0.1","maintainers":[{"name":"shkhalid","email":"shahkhalid.me@gmail.com"}],"dist":{"shasum":"3820e6ca88c7f7f65db7c1d7fb2fe47e9ab1258c","tarball":"https://registry.npmjs.org/@bullet-js/orm/-/orm-1.0.1.tgz","fileCount":24,"integrity":"sha512-GOyYZGpL1RKRWsl5ZKTG2p7BTCmyiv/2GJ8kebFTR3q02a0NuEJlRBqfXIhyfHeWaAG2JWCp+9fv8hSqOqawjw==","signatures":[{"sig":"MEYCIQD+gxQM8+JbFpghqgdOMf7E9af4DLDLnTCdE9dGY4RRUQIhAJm6jA9wm+3CoJynWmj+hqDe/hN26h8BalyYEqkPrHZe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39948},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d486e131ac0046581bbdc45cd582ef7be452e331","scripts":{"build":"tsc"},"_npmUser":{"name":"shkhalid","email":"shahkhalid.me@gmail.com"},"_npmVersion":"11.7.0","description":"The official BulletJS ORM. A high-performance, developer-friendly database layer powered by [Kysely](https://kysely.dev).","directories":{},"_nodeVersion":"22.21.1","dependencies":{"pg":"^8.16.3","tarn":"^3.0.2","mysql2":"^3.16.0","tedious":"^19.2.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"kysely":"^0.28.9","bun-types":"latest","typescript":"^5.0.0","@types/node":"^25.0.3"},"peerDependencies":{"kysely":"^0.27.0"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.1_1767633153890_0.3520164926577558","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bullet-js/orm","version":"1.0.2","_id":"@bullet-js/orm@1.0.2","maintainers":[{"name":"shkhalid","email":"shahkhalid.me@gmail.com"}],"dist":{"shasum":"442362536ca23039a04953d168a7361f0b02a46f","tarball":"https://registry.npmjs.org/@bullet-js/orm/-/orm-1.0.2.tgz","fileCount":24,"integrity":"sha512-lXAjf7co8b2aFB6zWqLqRHft3+2KKp4wr9/Pbc5/xBxkaZGvUz1heAN+96NlZSqaWlQsrZAVRtRxpFFuyHqIsw==","signatures":[{"sig":"MEYCIQCzYe66c80S6KPqtouccWdGRU/fbIN2X51oNUo1r6zygAIhAOchRXXvUtAtSdTVG3i3on1Id1IkYtnN0FF9VBKkrX9b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40182},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d486e131ac0046581bbdc45cd582ef7be452e331","scripts":{"build":"tsc"},"_npmUser":{"name":"shkhalid","email":"shahkhalid.me@gmail.com"},"_npmVersion":"11.7.0","description":"The official BulletJS ORM. A high-performance, developer-friendly database layer powered by [Kysely](https://kysely.dev).","directories":{},"_nodeVersion":"22.21.1","dependencies":{"pg":"^8.16.3","tarn":"^3.0.2","mysql2":"^3.16.0","tedious":"^19.2.0","reflect-metadata":"^0.2.2"},"_hasShrinkwrap":false,"devDependencies":{"kysely":"^0.28.9","bun-types":"latest","typescript":"^5.0.0","@types/node":"^25.0.3"},"peerDependencies":{"kysely":"^0.27.0"},"_npmOperationalInternal":{"tmp":"tmp/orm_1.0.2_1767634168398_0.3347455289200967","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bullet-js/orm","version":"1.0.3","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc"},"peerDependencies":{"kysely":"^0.27.0"},"dependencies":{"mysql2":"^3.16.0","pg":"^8.16.3","reflect-metadata":"^0.2.2","tarn":"^3.0.2","tedious":"^19.2.0"},"devDependencies":{"@types/node":"^25.0.3","bun-types":"latest","kysely":"^0.28.9","typescript":"^5.0.0"},"gitHead":"d486e131ac0046581bbdc45cd582ef7be452e331","_id":"@bullet-js/orm@1.0.3","description":"The official BulletJS ORM. A high-performance, developer-friendly database layer powered by [Kysely](https://kysely.dev).","_nodeVersion":"22.21.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-FP3LTMbUhdXWyXbIH3pp72cm/drTwbgIVQ2ElDkmHslnsl7F6hkIHGX+HvseG8UFyp1wAz1/8H1uM/N1ISlwdQ==","shasum":"2c964fbb685dfa7ba4b770b2d1a664a1062f18c6","tarball":"https://registry.npmjs.org/@bullet-js/orm/-/orm-1.0.3.tgz","fileCount":24,"unpackedSize":41866,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGwSJn8ezmFop8LsC+v+IFNPoTqWTC6SGutg0zMPDsfsAiEAmg7PZArKMdLbLewZtYGMnVQbNsOgnPHnWx8X9fFl8iE="}]},"_npmUser":{"name":"shkhalid","email":"shahkhalid.me@gmail.com"},"directories":{},"maintainers":[{"name":"shkhalid","email":"shahkhalid.me@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/orm_1.0.3_1767634308590_0.08023179178597384"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-05T15:30:43.721Z","modified":"2026-01-05T17:31:48.928Z","1.0.0":"2026-01-05T15:30:44.061Z","1.0.1":"2026-01-05T17:12:34.037Z","1.0.2":"2026-01-05T17:29:28.533Z","1.0.3":"2026-01-05T17:31:48.734Z"},"description":"The official BulletJS ORM. A high-performance, developer-friendly database layer powered by [Kysely](https://kysely.dev).","maintainers":[{"name":"shkhalid","email":"shahkhalid.me@gmail.com"}],"readme":"# @bullet-js/orm\n\nThe official BulletJS ORM. A high-performance, developer-friendly database layer powered by [Kysely](https://kysely.dev).\n\n## Features\n\n- **✅ Kysely Powered**: Full SQL query builder with type safety.\n- **🚀 Bun Native SQLite**: Specialized dialect for lightning-fast synchronous SQLite operations.\n- **💎 Laravel-style Models**: Clean `Model` class with hydration and lifecycle methods.\n- **📦 Collections**: Rich, chainable collection objects for array-like result sets.\n- **🔄 Multi-driver**: Supports SQLite, MySQL, Postgres, and SQL Server.\n\n## Installation\n\n```bash\nbun add @bullet-js/orm kysely\n```\n\n## Basic Usage\n\n### Define a Model\n\n```typescript\nimport { Model } from '@bullet-js/orm';\n\nexport class User extends Model {\n    protected static tableName = 'users';\n}\n```\n\n### Fetch Data\n\n```typescript\n// Get all users\nconst users = await User.all();\n\n// Find by ID\nconst user = await User.find(1);\n\n// Filter collection\nconst admins = users.filter(u => u.attributes.is_admin);\n```\n\n## Dialects\n\nWhen using with SQLite on Bun, this package automatically uses a custom `BunSqliteDialect` to bridge Kysely with Bun's native synchronous driver, achieving superior performance compared to standard drivers.\n","readmeFilename":"README.md"}