{"name":"rocksdb-native","version":"3.5.8","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"rocksdb-native@3.5.8","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":"6261435d38e61e51e4dc474f7cac93ca3d2a6a8f","tarball":"http://registry-npm.ywwl.com/rocksdb-native/download/rocksdb-native-3.5.8.tgz","fileCount":32,"integrity":"sha512-A5v3A4lWBd1pvoAqAcWHMYwRt4rdQrzR43N+Fx5GD9qKd0e6eDoqp082xvk/Hw5l0ppNQ+gkV00FlBC15w1UeA==","signatures":[{"sig":"MEUCIQDx6Z/jZhWToKBEVDKN7AaV49azFxaeZIsnJV1DctinZQIgDdPvxBzFHPemZg2rNJW9n58dM+NccK5AN/nCMxBh9HU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":198664207,"size":63595669,"noattachment":false,"key":"/rocksdb-native/-/rocksdb-native-3.5.8.tgz"},"addon":true,"engines":{"bare":">=1.16.0"},"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"34d903090e46c55c485b5bc5f83ee96f1f538d68","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.2.0","description":"librocksdb bindings for JavaScript","directories":{},"_nodeVersion":"23.10.0","dependencies":{"streamx":"^2.16.1","refcounter":"^1.0.0","require-addon":"^1.0.2","ready-resource":"^1.0.0","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.5.8_1743789811611_0.28023466766220495","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":1743789813386,"_cnpm_publish_time":1743789813386,"dist-tags":{"latest":"3.19.3"}}