{"name":"rocksdb-native","version":"3.8.1","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"rocksdb-native@3.8.1","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":"9fb200a1fe0705043e45584ed8b8ac081bf192b8","tarball":"http://registry-npm.ywwl.com/rocksdb-native/download/rocksdb-native-3.8.1.tgz","fileCount":33,"integrity":"sha512-wC0ag5R+mB5pdq9GVoB4809WQTTz08Flic5FsPhrJtGB1uCUfdHn1tEwTdZdR7s60vgD9hiP8jc4qBuv4R15DA==","signatures":[{"sig":"MEUCIAFFUdLeGZtFObF/5/+dC8ZtIidJnVeMm3at/h+nNYWDAiEAjIBxdOWmTtNDjT/s5q1zLMISVGiazKTsVARjZfPbhmU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":178858919,"size":60447005,"noattachment":false,"key":"/rocksdb-native/-/rocksdb-native-3.8.1.tgz"},"addon":true,"engines":{"bare":">=1.16.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"52acf9a61876eddc46f1c7fc3bf49b5994cfead1","scripts":{"lint":"prettier . --check","test":"npm run lint && npm run test:bare && npm run test:node","test:bare":"bare test.js","test:node":"node test.js"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"repository":{"url":"git+https://github.com/holepunchto/rocksdb-native.git","type":"git"},"_npmVersion":"11.5.2","description":"librocksdb bindings for JavaScript","directories":{},"_nodeVersion":"24.2.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":{"brittle":"^3.5.0","prettier":"^3.4.1","cmake-bare":"^1.1.14","cmake-napi":"^1.0.6","cmake-fetch":"^1.0.1","bare-compat-napi":"^1.3.0","prettier-config-standard":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rocksdb-native_3.8.1_1758095992313_0.442032282321813","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":1758095993246,"_cnpm_publish_time":1758095993246,"dist-tags":{"latest":"3.19.3"}}