{"_id":"@aopslabs/xf-db","_rev":"3-b11d8df9d66c0829bf33566b4d834c3c","name":"@aopslabs/xf-db","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.0":{"name":"@aopslabs/xf-db","version":"0.2.0","license":"SEE LICENSE IN LICENSE","_id":"@aopslabs/xf-db@0.2.0","maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"homepage":"https://github.com/eeemzs/xf-packages#readme","bugs":{"url":"https://github.com/eeemzs/xf-packages/issues"},"dist":{"shasum":"254dac16adae3ec210170645b7cec94b53b7a750","tarball":"https://registry.npmjs.org/@aopslabs/xf-db/-/xf-db-0.2.0.tgz","fileCount":52,"integrity":"sha512-lHQk4gquHjBsOa57vjusr6SZ6xuXTfBuMGrlN61oi/dXV7NCsBle26nw6s+brgXE03GXOR3HY8qFFjYT5j9UJw==","signatures":[{"sig":"MEQCIHppw1pFZl6pRs1CzgRUyoIGU+a8wfo+hqe6Y2DiCxRXAiAVNte7GFZm9fF0X/q+enr4WItw7fk2CQL75PPPnNQDDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40714},"main":"./dist/index.js","type":"module","_from":"file:S:/dev-js2/tmp/xf-public-b3-efd8c9b-r2/aopslabs-xf-db-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"build":"tsc -p tsconfig.lib.json"},"_npmUser":{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"},"_resolved":"S:\\dev-js2\\tmp\\xf-public-b3-efd8c9b-r2\\aopslabs-xf-db-0.2.0.tgz","_integrity":"sha512-lHQk4gquHjBsOa57vjusr6SZ6xuXTfBuMGrlN61oi/dXV7NCsBle26nw6s+brgXE03GXOR3HY8qFFjYT5j9UJw==","repository":{"url":"git+https://github.com/eeemzs/xf-packages.git","type":"git"},"_npmVersion":"11.6.4","description":"Database-neutral repository, mapping, transaction, and connection types for TypeScript applications.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"uuid":"11.1.1","tslib":"^2.3.0","effect":"3.20.0","@aopslabs/xf-bm":"^0.2.0","@aopslabs/xf-core":"^0.2.0","@aopslabs/xf-logger":"^0.2.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"mongoose":"^8.24.1","typescript":"^5.9.3","@types/node":"^25.3.0","@types/uuid":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/xf-db_0.2.0_1785860469522_0.06957656198918638","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aopslabs/xf-db","version":"0.2.1","license":"SEE LICENSE IN LICENSE","_id":"@aopslabs/xf-db@0.2.1","maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"homepage":"https://github.com/eeemzs/tsapps#readme","bugs":{"url":"https://github.com/eeemzs/tsapps/issues"},"dist":{"shasum":"d78171fdd631ab5672b40c7664ae8b373db0b0e0","tarball":"https://registry.npmjs.org/@aopslabs/xf-db/-/xf-db-0.2.1.tgz","fileCount":52,"integrity":"sha512-2oMarnlzFNgUjc3kCTTd4l4mqp3g+DB1u6TxwAo2acZzyO0PKll2bYNwWDDFs+fwOqQGyyCw4LfZSc1abvdd4Q==","signatures":[{"sig":"MEQCIHYNcRjWsCbSVVT9kY03gr+O+csixVy0pFVGaoNi7BlWAiA0fiyLgXUP7OpjAVTrSFog5QhVkTzLkW6t75+g+NF9Zg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42256},"main":"./dist/index.js","type":"module","_from":"file:/home/runner/work/_temp/release-candidates/aopslabs-xf-db-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint . --max-warnings=0","build":"tsc -p tsconfig.lib.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:94a39ba5-22cb-4673-ac7c-f1aca885294d"}},"_resolved":"/home/runner/work/_temp/release-candidates/aopslabs-xf-db-0.2.1.tgz","_integrity":"sha512-2oMarnlzFNgUjc3kCTTd4l4mqp3g+DB1u6TxwAo2acZzyO0PKll2bYNwWDDFs+fwOqQGyyCw4LfZSc1abvdd4Q==","repository":{"url":"git+https://github.com/eeemzs/tsapps.git","type":"git","directory":"packages/xf-packages/xf-db"},"_npmVersion":"11.9.0","description":"Database-neutral repository, mapping, transaction, and connection types for TypeScript applications.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"uuid":"11.1.1","tslib":"^2.3.0","effect":"3.20.0","@aopslabs/xf-bm":"^0.2.1","@aopslabs/xf-core":"^0.2.1","@aopslabs/xf-logger":"^0.2.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"9.39.5","mongoose":"^8.24.1","typescript":"5.9.3","@types/node":"25.3.0","@types/uuid":"^10.0.0","@aopslabs/eslint-config":"0.0.0","@aopslabs/typescript-config":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/xf-db_0.2.1_1788791311223_0.018352181872870243","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@aopslabs/xf-db","version":"0.2.2","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"dependencies":{"effect":"3.20.0","tslib":"^2.3.0","uuid":"11.1.1","@aopslabs/xf-bm":"^0.2.1","@aopslabs/xf-core":"^0.2.1","@aopslabs/xf-logger":"^0.2.2"},"devDependencies":{"@types/node":"25.3.0","@types/uuid":"^10.0.0","eslint":"9.39.5","mongoose":"^8.24.1","typescript":"5.9.3","@aopslabs/eslint-config":"0.0.0","@aopslabs/typescript-config":"0.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"private":false,"repository":{"type":"git","url":"git+https://github.com/eeemzs/tsapps.git","directory":"packages/xf-packages/xf-db"},"license":"SEE LICENSE IN LICENSE","scripts":{"build":"tsc -p tsconfig.lib.json","lint":"eslint . --max-warnings=0"},"_id":"@aopslabs/xf-db@0.2.2","description":"Database-neutral repository, mapping, transaction, and connection types for TypeScript applications.","bugs":{"url":"https://github.com/eeemzs/tsapps/issues"},"homepage":"https://github.com/eeemzs/tsapps#readme","_integrity":"sha512-Z+L0siA6zD+0RlvTWtnt2WmGrnLaFqO08ozgdRwkiF7wMFCja22VQ74sIoWHXA5JalqfQ2GhnL8RLJc0AOpObQ==","_resolved":"/home/runner/work/_temp/release-candidates/aopslabs-xf-db-0.2.2.tgz","_from":"file:/home/runner/work/_temp/release-candidates/aopslabs-xf-db-0.2.2.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-Z+L0siA6zD+0RlvTWtnt2WmGrnLaFqO08ozgdRwkiF7wMFCja22VQ74sIoWHXA5JalqfQ2GhnL8RLJc0AOpObQ==","shasum":"da4471365b36f34ac727b726e169d462241294ee","tarball":"https://registry.npmjs.org/@aopslabs/xf-db/-/xf-db-0.2.2.tgz","fileCount":52,"unpackedSize":42355,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFAKR3hr53QQSrggXIIKAjSsEpCF2/H9FyxxXvNgkp9KAiBWMOpYhU2ERCAhEF/wxsz4362L/w80r/RCRT/oY6DKtQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:94a39ba5-22cb-4673-ac7c-f1aca885294d"}},"directories":{},"maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xf-db_0.2.2_1789257769085_0.4968234182781728"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-04T16:21:09.320Z","modified":"2026-09-13T00:02:49.389Z","0.2.0":"2026-08-04T16:21:09.700Z","0.2.1":"2026-09-07T14:28:31.380Z","0.2.2":"2026-09-13T00:02:49.228Z"},"bugs":{"url":"https://github.com/eeemzs/tsapps/issues"},"license":"SEE LICENSE IN LICENSE","homepage":"https://github.com/eeemzs/tsapps#readme","repository":{"type":"git","url":"git+https://github.com/eeemzs/tsapps.git","directory":"packages/xf-packages/xf-db"},"description":"Database-neutral repository, mapping, transaction, and connection types for TypeScript applications.","maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"readme":"# @aopslabs/xf-db\n\nDatabase-neutral repository, mapping, transaction, and connection types for TypeScript applications.\n\n## Install\n\n```bash\nnpm install @aopslabs/xf-db\n```\n\n## Usage\n\n```ts\nimport { RepositoryBase, createBmDbMapper } from '@aopslabs/xf-db';\n\nconst mapper = createBmDbMapper({\n  id: { dbKey: '_id' },\n  createdAt: { toDomain: value => value ? new Date(value) : undefined }\n});\n```\n\nThe package includes repository contracts, base implementations, model-to-storage mappers, query options, transaction ports, and connection-string utilities. Database-specific adapters are available separately.\n\n## License\n\nCopyright (c) 2026 Mehmet Zeki Sönmez.\n\nLicensed under the [**PolyForm Strict License 1.0.0**](https://polyformproject.org/licenses/strict/1.0.0). The license permits noncommercial use and does not grant permission to modify or redistribute the package.\n","readmeFilename":"README.md"}