{"name":"rocksdb-native","version":"0.0.0","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"rocksdb-native@0.0.0","homepage":"https://github.com/holepunchto/rocksdb-native","bugs":{"url":"https://github.com/holepunchto/rocksdb-native/issues"},"dist":{"shasum":"1764ad93d24a208d9319d4e1257d06510924ee5e","tarball":"http://registry-npm.ywwl.com/rocksdb-native/download/rocksdb-native-0.0.0.tgz","fileCount":1951,"integrity":"sha512-sU2EQTgYV/yoGLc+273KstKQaRbZyEoNFHwUzXo1JFAkUBxl49WFgzMDSBr5Jp23e4Xo9upD87iHZhcNBn0GYQ==","signatures":[{"sig":"MEUCIHRivDTVh4jkw/FtYAzmptoOLhF3T9EUk5IO9cgi+9EKAiEAqK2/AvZxqhbHR0milznz2QP5fNg8R0FH0bMwAod2RtM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37771021,"size":12767672,"noattachment":false,"key":"/rocksdb-native/-/rocksdb-native-0.0.0.tgz"},"main":"index.js","gitHead":"af46659b61629772f920d2ac0a727fc13206be3c","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/rocksdb-native.git","type":"git"},"_npmVersion":"9.5.1","description":"RocksDB native bindings","directories":{},"_nodeVersion":"18.16.0","dependencies":{"ready-resource":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rocksdb-native_0.0.0_1694081805301_0.7856030918304253","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":1694081805831,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"},{"name":"kasperisager","email":"kasperisager@hey.com"},{"name":"andrewosh","email":"andrewosh@gmail.com"}],"_cnpm_publish_time":1694081805831,"dist-tags":{"latest":"3.19.3"}}