{"_id":"@anyentity/object-store","_rev":"13-2e0fd9b4f39f2efc615ed96b0c12ad40","name":"@anyentity/object-store","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.1":{"name":"@anyentity/object-store","version":"0.0.1","_id":"@anyentity/object-store@0.0.1","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"433c9461e5d0f38571e01770f2046bf73ba8b0d1","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.1.tgz","fileCount":7,"integrity":"sha512-fmoWAccnwwPge5tnNqnhWUe6hh0HHQY0Rh7KvjfpHqv0hKnhwyKsohfo7H2o8iVHWQG+39gwJGynYV6e6MdFKw==","signatures":[{"sig":"MEUCIQCOKuSUwq1uq7+kj4kYf5tlsovunX/zU3eG3jOpJdNXlAIgNaZWAEubVUUeBKCDSa766cnr5SZhFrVTOfBQbusmJWE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10779},"type":"module","module":"index.ts","shasum":"433c9461e5d0f38571e01770f2046bf73ba8b0d1","exports":{".":{"types":"./lib/ObjectStore.ts","default":"./index.ts"},"./bun":{"bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.ts","default":"./lib/store-impl/BunFileSystemObjectStore.ts"}},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.ts","default":"./lib/store-impl/InMemoryObjectStore.ts"}},"_npmUser":{"name":"tshani","actor":{"name":"tshani","type":"user","email":"tshani@gmail.com"},"email":"tshani@gmail.com"},"_integrity":"sha512-fmoWAccnwwPge5tnNqnhWUe6hh0HHQY0Rh7KvjfpHqv0hKnhwyKsohfo7H2o8iVHWQG+39gwJGynYV6e6MdFKw==","_npmVersion":"10.8.3","directories":{},"_nodeVersion":"22.6.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.1_1751547696447_0.7081654322230628","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@anyentity/object-store","version":"0.0.2","_id":"@anyentity/object-store@0.0.2","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"901403929580bb9677588b79a482413f3bac080f","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.2.tgz","fileCount":8,"integrity":"sha512-mdPJ/pVUGsTczcaE6p+EFj0za1lvf7WDwF/wEw/O7hj1Oi2teq+Ojc+YdIrjre7KWNLLBlVJj9KNFEPd1HGnEQ==","signatures":[{"sig":"MEUCIAnBx4Y7zTuDoUBZDFKwYkGQZcBSpIBgKJCfdT481XYLAiEAwxLAKcZ17aAAuRwj6uHqm2GZxZ3J+uxVVwgN+A0oEVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19044},"type":"module","module":"index.ts","exports":{".":{"types":"./lib/ObjectStore.ts","default":"./index.ts"},"./bun":{"bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.ts","default":"./lib/store-impl/BunFileSystemObjectStore.ts"}},"./node":{"node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.ts","default":"./lib/store-impl/NodeFileSystemObjectStore.ts"}},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.ts","default":"./lib/store-impl/InMemoryObjectStore.ts"}},"gitHead":"d523d82e69672f7e21c33fe3ea64d5757227fd63","_npmUser":{"name":"tshani","actor":{"name":"tshani","type":"user","email":"tshani@gmail.com"},"email":"tshani@gmail.com"},"_npmVersion":"10.9.2","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","@types/node":"latest"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.2_1751720269784_0.7462717222947282","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@anyentity/object-store","version":"0.0.3","_id":"@anyentity/object-store@0.0.3","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"bee5a45a6e367b28f89c76a2f114c6b800b86cb1","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.3.tgz","fileCount":14,"integrity":"sha512-pcYW+zbATWflCNM4jSHiDDgXh14emI87wVKQKUKOovsHY+Wu2+oBTFV4oGXDmPjTCS78rsNZzyui3Vp0DwLmVw==","signatures":[{"sig":"MEUCIQDmEP7WrDeCOid63eHXr9JIzkgoy1TlSUW9xIloGgAjJAIgFA5Crg8XhX/HeBHlRDFTdY2JXzdt8Q6CD1gdO1fd9Pg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25745},"type":"module","types":"./index.d.ts","module":"index.js","exports":{".":{"types":"./lib/ObjectStore.d.ts","default":"./index"},"./s3":{"types":"./lib/store-impl/S3ObjectStore.d.ts","default":"./lib/store-impl/S3ObjectStore.js"},"./bun":{"bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.d.ts","default":"./lib/store-impl/BunFileSystemObjectStore.js"}},"./node":{"node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.d.ts","default":"./lib/store-impl/NodeFileSystemObjectStore.js"}},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.d.ts","default":"./lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"f9c4008b878d851d5bd5d7768d6524b9c08c57b9","scripts":{"prepack":"tsc"},"_npmUser":{"name":"tshani","actor":{"name":"tshani","type":"user","email":"tshani@gmail.com"},"email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.0.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.3_1752153631975_0.5310980715728393","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@anyentity/object-store","version":"0.0.5","_id":"@anyentity/object-store@0.0.5","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"839f5952f249d99d3ddc446730552515b02acf47","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.5.tgz","fileCount":16,"integrity":"sha512-tRPiahex4EMG1lgHcoqJ1fVfNvEBKquxxaKvwuJVGvh4HFGGg+/riOhVSKI5CEgfRPMCI2Ep7Mw/S/ToWG72Nw==","signatures":[{"sig":"MEQCIET7tODgCDseS8MBOr+NLLrXMW5LALjzdkI55G1RNsLUAiAzmVZUDFQVqmlYW3V9OW1g8qOPPMoiy0yn3Zf4J4kQFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27485},"type":"module","types":"./index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","default":"./index"},"./s3":{"types":"./lib/store-impl/S3ObjectStore.d.ts","default":"./lib/store-impl/S3ObjectStore.js"},"./bun":{"bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.d.ts","default":"./lib/store-impl/BunFileSystemObjectStore.js"}},"./node":{"node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.d.ts","default":"./lib/store-impl/NodeFileSystemObjectStore.js"}},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.d.ts","default":"./lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"3a6c2cd2008e8714a9b521ee4bf32500ac3184aa","scripts":{"prepack":"tsc"},"_npmUser":{"name":"tshani","actor":{"name":"tshani","type":"user","email":"tshani@gmail.com"},"email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.0.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.5_1752169522537_0.07868084994513436","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@anyentity/object-store","version":"0.0.6","_id":"@anyentity/object-store@0.0.6","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"f9d9ae20f5b7d7561799070ab5e2ea1b305c3729","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.6.tgz","fileCount":16,"integrity":"sha512-kmEtswMLfr7WMM/rPWqxr3k8EUG+FxCODhZofr1c71pPRiHv0Yuh9cIM54WsNSAH/vDKB5CT1IxgaAdGILJnAw==","signatures":[{"sig":"MEUCIDYvbn5sMLm7ZH18LMdGwXlPtuICzlb1hSg/cuHk7I3QAiEAn7XnNupS3Q4lEe0B1Lp/6lnjMm5zYdqQjz20m8ZO+KQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27347},"type":"module","types":"./index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","default":"./index"},"./s3":{"types":"./lib/store-impl/S3ObjectStore.d.ts","default":"./lib/store-impl/S3ObjectStore.js"},"./bun":{"bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.d.ts","default":"./lib/store-impl/BunFileSystemObjectStore.js"}},"./node":{"node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.d.ts","default":"./lib/store-impl/NodeFileSystemObjectStore.js"}},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.d.ts","default":"./lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"3ae5e5b3f6fed2df7e5d7027b9b57d53a1d483d3","scripts":{"prepack":"tsc"},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.0.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.6_1752221211809_0.942862814753082","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@anyentity/object-store","version":"0.0.7","_id":"@anyentity/object-store@0.0.7","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"438fcfa86c5535aa8bf3b5dba56b0b169728cb8b","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.7.tgz","fileCount":20,"integrity":"sha512-2b7iTqCwZH3X+xFVK0pQcARU+Tn0TPpLbVLcFGYeJJ5DylFNRnh+qZH3AJjlMGgIbotASZrZf6k0EH7xLJtcsw==","signatures":[{"sig":"MEUCICignDKVntKpi851uTHGWAcu+cR24zuVS4Z+YzmzOp8aAiEAuazRSxw7tlLVTzXU1Nfzi/Lyps/6FG+pKMfiIixRLgo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22643},"type":"module","types":"./index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","default":"./index"},"./s3":{"types":"./lib/store-impl/S3ObjectStore.d.ts","default":"./lib/store-impl/S3ObjectStore.js"},"./bun":{"bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.d.ts","default":"./lib/store-impl/BunFileSystemObjectStore.js"}},"./node":{"node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.d.ts","default":"./lib/store-impl/NodeFileSystemObjectStore.js"}},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.d.ts","default":"./lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"b12f6f1d59a6f75c0b06750021f1903746338809","scripts":{"prepack":"tsc && biome check --write"},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.0.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.7_1752299479728_0.23142774402679223","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@anyentity/object-store","version":"0.0.8","_id":"@anyentity/object-store@0.0.8","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"8e55814311e140461f8ded9458db5ef7723f5813","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.8.tgz","fileCount":20,"integrity":"sha512-MEj81tz+vsT5GF7SPSdQP2Tdl1Cw6YLOmnAOh1kJUnGtiETxqu5eMGZWbUOrG5hwEgj6QrCrfZ5ayfQPi6gKPA==","signatures":[{"sig":"MEYCIQDa7Uu8gifVnS3VWDnk1PRQ/cDCithrQ9ROCzzoTpkvogIhAICnen+qdaYBKa1RT/7AqTcnXwEvlCaS3T2TJC87KcJH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22702},"type":"module","types":"./index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index"},"./s3":{"types":"./lib/store-impl/S3ObjectStore.d.ts","import":"./lib/store-impl/S3ObjectStore.js"},"./bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.d.ts","import":"./lib/store-impl/BunFileSystemObjectStore.js"},"./node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.d.ts","import":"./lib/store-impl/NodeFileSystemObjectStore.js"},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.d.ts","import":"./lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"e871f951ce930886458362b2babbf41a8c29dbe8","scripts":{"prepack":"tsc && biome check --write"},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.0.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.8_1752849849641_0.15601996112931293","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@anyentity/object-store","version":"0.0.9","_id":"@anyentity/object-store@0.0.9","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"4cf3f43b23d7044ee37f6194fed593a693f2de13","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.9.tgz","fileCount":20,"integrity":"sha512-n1O2X158fPe+WVJlg+yAWSSoOAeymHFqE8pMlQndj293XMLtlpCvgN7EdYRO+L6+A9QkrhKn6//29vycX4PoFQ==","signatures":[{"sig":"MEYCIQDkoJMsqfQqIgKpe8lKTFo03G4U38ANH4Fl8HWQsQ6mAQIhAK2GWaryu1nTVJOmbwRii8/UN2nPcw2qlbZNFqdQFkfd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22708},"type":"module","types":"./index.d.ts","module":"index.js","exports":{".":{"types":"./index.d.ts","import":"./index"},"./s3":{"types":"./lib/store-impl/S3ObjectStore.d.ts","import":"./lib/store-impl/S3ObjectStore.js"},"./bun":{"types":"./lib/store-impl/BunFileSystemObjectStore.d.ts","import":"./lib/store-impl/BunFileSystemObjectStore.js"},"./node":{"types":"./lib/store-impl/NodeFileSystemObjectStore.d.ts","import":"./lib/store-impl/NodeFileSystemObjectStore.js"},"./memory":{"types":"./lib/store-impl/InMemoryObjectStore.d.ts","import":"./lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"e871f951ce930886458362b2babbf41a8c29dbe8","scripts":{"prepack":"tsc && biome check --write"},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.0.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.9_1752849949673_0.7743252309992736","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@anyentity/object-store","version":"0.0.10","_id":"@anyentity/object-store@0.0.10","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"f40a39bbb9dfe78ddb686a80d8069760b18fdafa","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.10.tgz","fileCount":46,"integrity":"sha512-Io4fC95j6ZKtkI14JYlDi5wKwi2ReGCu0oOCrDGMYoNO/ZN0QNsjP5Cxk8cgsdJqJUlr/pu36MzSbYg/bmYvCQ==","signatures":[{"sig":"MEUCIQCsb22S2/FtHUeot+6CvxIOS9t9HEuOMaLTJ7URdP44ywIgV51AhjYoR3TIzKS20KIGLH5rmJY7zEgPnCxBrPm/WRY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67329},"type":"module","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./s3":{"types":"./dist/lib/store-impl/S3ObjectStore.d.ts","import":"./dist/lib/store-impl/S3ObjectStore.js"},"./node":{"types":"./dist/lib/store-impl/NodeFileSystemObjectStore.d.ts","import":"./dist/lib/store-impl/NodeFileSystemObjectStore.js"},"./memory":{"types":"./dist/lib/store-impl/InMemoryObjectStore.d.ts","import":"./dist/lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"881de54232c9eba14ca90634ff796751760a2aab","scripts":{"prepack":"tsc && biome check --write"},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.848.0","@testcontainers/localstack":"^11.3.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.10_1752928191632_0.5238895878168384","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@anyentity/object-store","version":"0.0.11","_id":"@anyentity/object-store@0.0.11","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"dist":{"shasum":"cb41c6109dee798b2907138f755a140bf01cc8c7","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.11.tgz","fileCount":46,"integrity":"sha512-KX1dHR65xbrW7pkRYxi9+8qCA6wosLlRRG1DtsTRVG72tcuqUKWi9RTsjPbY7pQUdv+WWadNfmhBdsHBqt2CEw==","signatures":[{"sig":"MEQCIFCTPaii1dE/fqGkUtLjaMZKMi8kK5Jt2HGdq0B86KHVAiAT1GZ/pDFd1XW6/VvQ//+7w3u45VQogm2Auy6NrSbBRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67356},"type":"module","module":"index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./s3":{"types":"./dist/lib/store-impl/S3ObjectStore.d.ts","import":"./dist/lib/store-impl/S3ObjectStore.js"},"./node":{"types":"./dist/lib/store-impl/NodeFileSystemObjectStore.d.ts","import":"./dist/lib/store-impl/NodeFileSystemObjectStore.js"},"./memory":{"types":"./dist/lib/store-impl/InMemoryObjectStore.d.ts","import":"./dist/lib/store-impl/InMemoryObjectStore.js"}},"gitHead":"881de54232c9eba14ca90634ff796751760a2aab","scripts":{"prepack":"tsc && biome check --write"},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"_npmVersion":"11.3.0","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","directories":{},"_nodeVersion":"24.0.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","@types/bun":"latest","typescript":"^5","@types/node":"latest","@aws-sdk/client-s3":"^3.848.0","@testcontainers/localstack":"^11.3.0"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_npmOperationalInternal":{"tmp":"tmp/object-store_0.0.11_1752933539574_0.6863245084304834","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@anyentity/object-store","version":"0.0.12","module":"index.js","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./memory":{"types":"./dist/lib/store-impl/InMemoryObjectStore.d.ts","import":"./dist/lib/store-impl/InMemoryObjectStore.js"},"./node":{"types":"./dist/lib/store-impl/NodeFileSystemObjectStore.d.ts","import":"./dist/lib/store-impl/NodeFileSystemObjectStore.js"},"./s3":{"types":"./dist/lib/store-impl/S3ObjectStore.d.ts","import":"./dist/lib/store-impl/S3ObjectStore.js"},"./cloudflare-r2":{"types":"./dist/lib/store-impl/CloudflareR2ObjectStore.d.ts","import":"./dist/lib/store-impl/CloudflareR2ObjectStore.js"}},"scripts":{"test":"vitest","prepack":"tsc && biome check --write"},"devDependencies":{"@aws-sdk/client-s3":"^3.848.0","@cloudflare/workers-types":"^4.20241218.0","@testcontainers/localstack":"^11.3.0","@types/bun":"latest","@types/node":"latest","miniflare":"^4.20250917.0","typescript":"^5","vitest":"^3.2.4"},"peerDependencies":{"typescript":"^5"},"peerDependenciesMeta":{},"_id":"@anyentity/object-store@0.0.12","gitHead":"b6d817163b34acf4f7ce66805d65148f4ef84075","description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","_nodeVersion":"24.7.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-YtwpRQw+VhI8IJdPmJw+Pxwqt5aHBitmxulGMrPcbc8Zzsd2HeiBhjhg+l2nyO9svek4muwCrPX+tvESHle2eg==","shasum":"d1776ad83de08cd9f00475c2e45ee67942af11e4","tarball":"https://registry.npmjs.org/@anyentity/object-store/-/object-store-0.0.12.tgz","fileCount":53,"unpackedSize":72170,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC75GCFClRKCHKZlI3I4EmWVnXW8zgEPLOZ0G8FvAFbzAiAHQLh1wBWXL2seUdE26Gcnl+nOD4sqYvDDyH8WAoIsCA=="}]},"_npmUser":{"name":"tshani","email":"tshani@gmail.com"},"directories":{},"maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/object-store_0.0.12_1758453848064_0.6051835986045748"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-03T13:01:36.351Z","modified":"2025-09-21T11:24:08.508Z","0.0.1":"2025-07-03T13:01:36.636Z","0.0.2":"2025-07-05T12:57:49.974Z","0.0.3":"2025-07-10T13:20:32.206Z","0.0.4":"2025-07-10T17:41:50.219Z","0.0.5":"2025-07-10T17:45:22.712Z","0.0.6":"2025-07-11T08:06:51.979Z","0.0.7":"2025-07-12T05:51:19.905Z","0.0.8":"2025-07-18T14:44:09.825Z","0.0.9":"2025-07-18T14:45:49.839Z","0.0.10":"2025-07-19T12:29:51.818Z","0.0.11":"2025-07-19T13:58:59.762Z","0.0.12":"2025-09-21T11:24:08.284Z"},"description":"A unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.","maintainers":[{"name":"tshani","email":"tshani@gmail.com"}],"readme":"# @anyentity/object-store-core\n\nA unified TypeScript interface for object storage across different backends. This library provides a consistent API for storing, retrieving, and managing objects regardless of the underlying storage implementation.\n\n## Features\n\n- **Unified Interface**: Single `ObjectStore` interface for all storage backends\n- **Multiple Implementations**: Support for file system, in-memory, and runtime-specific storage\n- **Conditional Exports**: Import only the implementations you need\n- **Type Safety**: Full TypeScript support with strict typing\n- **Metadata Support**: Store and retrieve custom metadata with objects\n- **Stream Support**: Handle large objects with streaming APIs\n\n## Installation\n\n```bash\nbun install @anyentity/object-store-core\n```\n\n## Usage\n\n### Basic Usage\n\n```typescript\nimport type { ObjectStore } from \"@anyentity/object-store-core\";\nimport { InMemoryObjectStore } from \"@anyentity/object-store-core/memory\";\n\nconst store: ObjectStore = new InMemoryObjectStore();\n\n// Store an object\nawait store.putObject(\"my-key\", \"Hello, World!\", {\n  contentType: \"text/plain\",\n  metadata: { author: \"user123\" }\n});\n\n// Retrieve an object\nconst result = await store.getObject(\"my-key\");\nconsole.log(result.body); // \"Hello, World!\"\nconsole.log(result.metadata); // { author: \"user123\" }\n\n// List objects\nconst list = await store.listObjects({ prefix: \"my-\" });\nconsole.log(list.keys); // [\"my-key\"]\n\n// Delete an object\nawait store.deleteObject(\"my-key\");\n```\n\n### Available Implementations\n\n#### InMemoryObjectStore\nFast in-memory storage, perfect for testing and development:\n\n```typescript\nimport { InMemoryObjectStore } from \"@anyentity/object-store-core/memory\";\n\nconst store = new InMemoryObjectStore();\n```\n\n#### BunFileSystemObjectStore (Bun Runtime Only)\nFile system storage optimized for Bun runtime:\n\n```typescript\nimport { BunFileSystemObjectStore } from \"@anyentity/object-store-core/bun\";\n\nconst store = new BunFileSystemObjectStore(\"./storage\");\n```\n\n## API Reference\n\n### ObjectStore Interface\n\n```typescript\ninterface ObjectStore {\n  putObject(key: string, body: Buffer | Uint8Array | string | ReadableStream, options?: PutOptions): Promise<void>;\n  getObject(key: string): Promise<GetObjectResult>;\n  deleteObject(key: string): Promise<void>;\n  listObjects(options?: ListOptions): Promise<ListResult>;\n}\n```\n\n### Types\n\n```typescript\ninterface PutOptions {\n  contentType?: string;\n  metadata?: Record<string, string>;\n  acl?: string;\n}\n\ninterface GetObjectResult {\n  body: Buffer | Uint8Array | ReadableStream | string;\n  contentType?: string;\n  metadata?: Record<string, string>;\n}\n\ninterface ListOptions {\n  prefix?: string;\n  maxKeys?: number;\n}\n\ninterface ListResult {\n  keys: string[];\n  nextContinuationToken?: string;\n  isTruncated: boolean;\n}\n```\n\n## Development\n\n```bash\n# Install dependencies\nbun install\n\n# Type check\nbun run --bun tsc --noEmit\n\n# Run example\nbun run index.ts\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}