{"_id":"@baldim/adapter-reddb","_rev":"2-872494fa15e926791ea899a9d251f53d","name":"@baldim/adapter-reddb","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.0":{"name":"@baldim/adapter-reddb","version":"0.2.0","license":"MIT","_id":"@baldim/adapter-reddb@0.2.0","maintainers":[{"name":"fforattini","email":"filipeforattini1@gmail.com"}],"homepage":"https://github.com/forattini-dev/baldim#readme","bugs":{"url":"https://github.com/forattini-dev/baldim/issues"},"dist":{"shasum":"ef11954b37de3e346bcb374f55b02919fa4a5994","tarball":"https://registry.npmjs.org/@baldim/adapter-reddb/-/adapter-reddb-0.2.0.tgz","fileCount":15,"integrity":"sha512-kYe9Sv+9cAwhnNkGYZxtccvuxU0IuvyzGFgpTVHNEO5zLmbAx/H3ax6Ja9yH3qUW/Jl1nQADYoASHWf7DNK/nQ==","signatures":[{"sig":"MEUCIGm7lJaZRJDi37bbIFqhJsTG05aD1YCc0XFaA61kT4hGAiEAsrZ/tyQ3B35AslSOfVMO6C/6hWyIdBkfLu7tV4aAczU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69934},"main":"./dist/index.js","type":"module","_from":"file:baldim-adapter-reddb-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"fforattini","email":"filipeforattini1@gmail.com"},"_resolved":"/tmp/fb627aa6a1bb4e7e480362003930f691/baldim-adapter-reddb-0.2.0.tgz","_integrity":"sha512-kYe9Sv+9cAwhnNkGYZxtccvuxU0IuvyzGFgpTVHNEO5zLmbAx/H3ax6Ja9yH3qUW/Jl1nQADYoASHWf7DNK/nQ==","repository":{"url":"git+https://github.com/forattini-dev/baldim.git","type":"git","directory":"adapters/reddb"},"_npmVersion":"11.19.0","description":"RedDB storage adapter for Baldim.","directories":{},"sideEffects":true,"_nodeVersion":"24.20.0","dependencies":{"lodash-es":"^4.18.1","@baldim/core":"0.2.0","@baldim/utils":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"6.0.2","@types/node":"25.5.2","@types/lodash-es":"^4.17.12"},"_npmOperationalInternal":{"tmp":"tmp/adapter-reddb_0.2.0_1788985587827_0.372621061681369","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@baldim/adapter-reddb","version":"0.2.1","type":"module","description":"RedDB storage adapter for Baldim.","license":"MIT","engines":{"node":">=24"},"sideEffects":true,"repository":{"type":"git","url":"git+https://github.com/forattini-dev/baldim.git","directory":"adapters/reddb"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"publishConfig":{"access":"public"},"dependencies":{"lodash-es":"^4.18.1","@baldim/core":"0.2.1","@baldim/utils":"0.1.0"},"devDependencies":{"@types/lodash-es":"^4.17.12","@types/node":"25.5.2","typescript":"6.0.2"},"scripts":{"build":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test":"vitest run"},"_id":"@baldim/adapter-reddb@0.2.1","bugs":{"url":"https://github.com/forattini-dev/baldim/issues"},"homepage":"https://github.com/forattini-dev/baldim#readme","_integrity":"sha512-Cj5QFCJk+gDabhZrtwmlujdAukX+WgCOfe9TbVKX2HnLpIdygzxcK/qk8qkMkZbJRQlClgMp+IR8kXsnTE0doQ==","_resolved":"/tmp/0fab584c75b0f24b204d47e9c9235634/baldim-adapter-reddb-0.2.1.tgz","_from":"file:baldim-adapter-reddb-0.2.1.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-Cj5QFCJk+gDabhZrtwmlujdAukX+WgCOfe9TbVKX2HnLpIdygzxcK/qk8qkMkZbJRQlClgMp+IR8kXsnTE0doQ==","shasum":"89a0c6e3ce539c94bc3ec139a7968165f0f9aa4c","tarball":"https://registry.npmjs.org/@baldim/adapter-reddb/-/adapter-reddb-0.2.1.tgz","fileCount":15,"unpackedSize":69934,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDajnHqszE3vvEVkxhgJVaW9/ACQO79KqWJ8bDGNKd6cAiEA085JbHbmc8R7K0vUE9w598Ph7AVnnjUkmRurz57kYzY="}]},"_npmUser":{"name":"fforattini","email":"filipeforattini1@gmail.com"},"directories":{},"maintainers":[{"name":"fforattini","email":"filipeforattini1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-reddb_0.2.1_1789561123496_0.3386851092198895"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-09T20:26:27.597Z","modified":"2026-09-16T12:18:43.885Z","0.2.0":"2026-09-09T20:26:27.985Z","0.2.1":"2026-09-16T12:18:43.686Z"},"bugs":{"url":"https://github.com/forattini-dev/baldim/issues"},"license":"MIT","homepage":"https://github.com/forattini-dev/baldim#readme","repository":{"type":"git","url":"git+https://github.com/forattini-dev/baldim.git","directory":"adapters/reddb"},"description":"RedDB storage adapter for Baldim.","maintainers":[{"name":"fforattini","email":"filipeforattini1@gmail.com"}],"readme":"# @baldim/adapter-reddb\n\nImports register the `reddb:` protocol with Baldim. The adapter speaks RedDB's\npublic HTTP API and owns only its storage mapping dependencies; it does not install\nRecker or a web framework.\n\n```ts\nimport { Baldim } from '@baldim/core';\nimport '@baldim/adapter-reddb';\n\nconst database = new Baldim({\n  connectionString: 'reddb://read-token:write-token@localhost:8080/my-prefix?collection=app'\n});\nawait database.connect();\n```\n\nThe username becomes the bearer read token, and the password becomes the\n`X-Write-Token` header. The path is an object key prefix; `collection` selects the\nRedDB collection.\n\nThe local shared contract runs against an in-process RedDB-compatible HTTP server.\nSet `BALDIM_REDDB_CONTRACT_URL` to exercise a deployed service. Optional settings\nare `BALDIM_REDDB_COLLECTION`, `BALDIM_REDDB_AUTH_TOKEN`, and\n`BALDIM_REDDB_WRITE_TOKEN`.\n","readmeFilename":"README.md"}