{"name":"rocksdb-native","version":"3.13.0","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"rocksdb-native@3.13.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"andrewosh","email":"andrewosh@gmail.com"}],"homepage":"https://github.com/holepunchto/rocksdb-native","bugs":{"url":"https://github.com/holepunchto/rocksdb-native/issues"},"dist":{"shasum":"37172fa320160a27d445316e519fa00e8939a39c","tarball":"http://registry-npm.ywwl.com/rocksdb-native/download/rocksdb-native-3.13.0.tgz","fileCount":33,"integrity":"sha512-KTwrhZtxk5/1quvpLzqrSMQXVctTzrwn+mYFIs1j+hOz1sy3DGv4coKxOLTFfyBeSizfkPF+FtxhTsdRqGpLpQ==","signatures":[{"sig":"MEQCIElZsSGQJi+6tzLWnPKV2kMcGuaM5X7sL/Yo8fMTujrIAiBS8aLdYuVhMKYS1bY1QXN2jc7PXpY4I0vYDfIz21sdTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183768637,"size":62075311,"noattachment":false,"key":"/rocksdb-native/-/rocksdb-native-3.13.0.tgz"},"addon":true,"engines":{"bare":">=1.16.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"6d3ba099605710895079b3ee90603398ff2a9e3a","imports":{"fs":{"bare":"bare-fs","default":"fs"},"path":{"bare":"bare-path","default":"path"},"crypto":{"bare":"bare-crypto","default":"crypto"}},"scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare test.js","test:node":"brittle-node test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/rocksdb-native.git","type":"git"},"_npmVersion":"11.6.4","description":"librocksdb bindings for JavaScript","directories":{},"_nodeVersion":"24.10.0","dependencies":{"streamx":"^2.16.1","refcounter":"^1.0.0","require-addon":"^1.0.2","ready-resource":"^1.0.0","signal-promise":"^1.0.3","compact-encoding":"^2.15.0","resolve-reject-promise":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","bare-fs":"^4.5.0","brittle":"^3.5.0","fd-lock":"^2.0.0","paparam":"^1.9.0","prettier":"^3.6.2","bare-path":"^3.0.0","cmake-bare":"^1.1.14","cmake-napi":"^1.0.6","bare-crypto":"^1.12.0","cmake-fetch":"^1.0.1","bare-compat-napi":"^1.3.0","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rocksdb-native_3.13.0_1770629456626_0.7897215912060116","host":"s3://npm-registry-packages-npm-production"},"readme":"# rocksdb-native\n\n<https://github.com/holepunchto/librocksdb> bindings for JavaScript.\n\n```\nnpm i rocksdb-native\n```\n\n> [!IMPORTANT]\n> On Linux `libatomic` must be installed as well.\n\n## Usage\n\n```js\nconst RocksDB = require('rocksdb-native')\n\nconst db = new RocksDB('./example.db')\n\nconst w = db.write()\nw.put('hello', 'world')\nawait w.flush()\n\nconst r = db.read()\nconst p = r.get('hello')\nr.flush()\n\nconsole.log(await p)\n```\n\n## License\n\nApache-2.0\n","publish_time":1770629458242,"_cnpm_publish_time":1770629458242,"dist-tags":{"latest":"3.19.3"}}