{"name":"rocksdb-native","version":"2.4.0","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"rocksdb-native@2.4.0","homepage":"https://github.com/holepunchto/rocksdb-native","bugs":{"url":"https://github.com/holepunchto/rocksdb-native/issues"},"dist":{"shasum":"23c7b795d246f28f07780f04606de7380d9c7970","tarball":"http://registry-npm.ywwl.com/rocksdb-native/download/rocksdb-native-2.4.0.tgz","fileCount":958,"integrity":"sha512-ovV1wsbhvcLpblfBe5PKr73GtIjKjEMsIPrR31xvNv1kTg7YOzVEbF4F9Bb6A7CefKjtq1/rdRNjM6d4qKkSZw==","signatures":[{"sig":"MEQCIFEb8hg0+oQqN0ZpZWlX6FTC5cDnz/Ed4anzrTe3rsyQAiAp8k8rQBLsPZMuFs3U5zzRtE9L0GhhcuGGHIuA3Vi0cQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100826826,"size":35016557,"noattachment":false,"key":"/rocksdb-native/-/rocksdb-native-2.4.0.tgz"},"addon":true,"exports":{".":"./index.js","./package":"./package.json"},"gitHead":"5911c74eafb74e48f46bf89c331b904d02a939aa","scripts":{"lint":"standard","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":"10.8.2","description":"librocksdb bindings for JavaScript","directories":{},"_nodeVersion":"20.17.0","dependencies":{"b4a":"^1.6.6","streamx":"^2.16.1","load-addon":"^1.0.0","ready-resource":"^1.0.0","compact-encoding":"^2.15.0"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.5.0","standard":"^17.1.0","test-tmp":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/rocksdb-native_2.4.0_1725373667720_0.8293558561157361","host":"s3://npm-registry-packages"},"readme":"# rocksdb-native\n\n<https://github.com/holepunchto/librocksdb> bindings for JavaScript.\n\n```\nnpm i rocksdb-native\n```\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":1725373668338,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"andrewosh","email":"andrewosh@gmail.com"}],"_cnpm_publish_time":1725373668338,"dist-tags":{"latest":"3.19.3"}}