{"_id":"level-proxy","_rev":"26-12fc261bdb544637006c00fa0f5a2050","name":"level-proxy","description":"proxy a leveldb reference to swap instances transparently","dist-tags":{"latest":"1.1.2"},"versions":{"0.0.0":{"name":"level-proxy","version":"0.0.0","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"inherits":"^2.0.1","events":"^1.0.0","readable-stream":"^1.1.10"},"devDependencies":{"tape":"^2.3.2","level":"^0.18.0","through":"^2.3.4","through2":"^0.4.1"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.0","dist":{"shasum":"664a0a305e845c438807b9f651e8a58d01c04fb8","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.0.tgz","integrity":"sha512-C0uMH/2T5S7fv7ajtnDoRph7k5a50833FIMZJYaE5jPc442gE18tki5mbd3P8HZkhwUtfw0+xQzOYHvjLbGf7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOzO4FPG6DG5B1sSPn0PehAPlrFKdJquis13AUdpXi/wIgRpd4z9aG9gzHXMtqrdQCLUl/lKEXglnEuD4k0S9K4r8="}]},"_from":".","_npmVersion":"1.4.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.0.1":{"name":"level-proxy","version":"0.0.1","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"inherits":"~2.0.1","events":"~1.0.0","readable-stream":"~1.1.10"},"devDependencies":{"tape":"~2.3.2","level":"~0.18.0","through":"~2.3.4","through2":"~0.4.1"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.1","dist":{"shasum":"efe68a55a44ba24fc53f4acb11b4c1b405f16128","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.1.tgz","integrity":"sha512-3eL8QUjOgQSUFCg2g0ay4oARH0hLx819LGpwmESE4Yn+UbY0+mw1zNBXiNbU46VOXy3b5iFa7BxRz8vY9nw9UA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYYyw8qFt1kWbpVLnXaq/qHNV2OxklPbTms9YPtduc9AiEAzTGzpByFL8t1WYGTRme8i05hmqU61Xq4kAb6OYjLW50="}]},"_from":".","_npmVersion":"1.4.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.0.2":{"name":"level-proxy","version":"0.0.2","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"inherits":"~2.0.1","events":"~1.0.0","readable-stream":"~1.1.10"},"devDependencies":{"tape":"~2.3.2","level":"~0.18.0","through":"~2.3.4","through2":"~0.4.1"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.2","dist":{"shasum":"d7bacdfd605191244d5169bb2368777ff4019f5b","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.2.tgz","integrity":"sha512-AfRcQxkhS/AZkCelTUyJEaBi5wgUmVSTa7cDBzEmJelKlOYuw/ihkItNe3qp8sQs0ZnF+U+4EIgLnn/2M/m0rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBR8bDf60PQ/sq8Tp74P+PuS6yKnsRaF1q0QKxhgQg7CAiEAjg8cTqdLbeTqk+ZWB1Z0FNn7nhc/r4SZdMp/NCRKZXg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.0.3":{"name":"level-proxy","version":"0.0.3","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"inherits":"~2.0.1","events":"~1.0.0","readable-stream":"~1.1.10"},"devDependencies":{"tape":"~2.3.2","level":"~0.18.0","through":"~2.3.4","through2":"~0.4.1"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.3","dist":{"shasum":"74b0277ac16b11749bd89b138187e3a7333d13fb","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.3.tgz","integrity":"sha512-3Jl2KV+NuAFxCCYAOydRI+SNfqfLuld+wO4csemprY8t9rhbHdwSNGyVy6Tc4dTaqa11DYNInaJHQardWpqN3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFK2UI2HkGpnm+fEOTuGo9X7BWXB+8vxY0lGdsWc4w/wAiBaamoP/BU6YeLUzulbdXd/1+pVRG6g987D8VW5Kluf/w=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.0.4":{"name":"level-proxy","version":"0.0.4","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"inherits":"~2.0.1","events":"~1.0.0","readable-stream":"~1.1.10"},"devDependencies":{"tape":"~2.3.2","level":"~0.18.0","through":"~2.3.4","through2":"~0.4.1"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.4","dist":{"shasum":"62b1f1c687bcc6948646454fa852c2a0f10f86b4","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.4.tgz","integrity":"sha512-+WgaSeOivskd5SA62aWDK1gVbIMlxMbRBWCbeZcYnTwiUTevMjj6FqYPa/JTBatAcgRYGX1HFXbhM4wdVWRjvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC67WTzcco9CZzliBeWhB9tWpZyvuZW/m315NeduQ6/uQIhAKjsYd4rABMfxaZ3r0poryc3Y+rbEVWItwGcS/9VQ29f"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.0.5":{"name":"level-proxy","version":"0.0.5","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"events":"~1.0.0","inherits":"~2.0.1","readable-stream":"~1.1.10","shallow-copy":"~0.0.1","through2":"~0.4.1"},"devDependencies":{"tape":"~2.12.2","level":"~0.18.0","through":"~2.3.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.5","dist":{"shasum":"17a41432e9b1b102d4d18cfb6aac4dfa02278975","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.5.tgz","integrity":"sha512-7hKIJujgoCTkGeCYSn9qbVrDi/PD7ktooTFfrgDS37DZOxmY+gKfjCz1FLobrH7k9UMT4Z4k3FvNbdB5cM/ISw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3EIMT0XynXyce3/UrYLXUCCIFoapiXSKjbbPCkRuukAiEA/nfRf0/hsaf8u4daBSRDGXIyp3uMyqUljKWC+udf3ps="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"directories":{}},"0.0.6":{"name":"level-proxy","version":"0.0.6","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"events":"~1.0.0","inherits":"~2.0.1","readable-stream":"~1.1.10","shallow-copy":"~0.0.1","through2":"~0.4.1"},"devDependencies":{"tape":"~2.12.2","level":"~0.18.0","through":"~2.3.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"9315788c3873251c9911f9a72efd208a38697bad","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@0.0.6","_shasum":"ecdba6fbdae77969f0aff85b4177efefdd6eb0ba","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"ecdba6fbdae77969f0aff85b4177efefdd6eb0ba","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-0.0.6.tgz","integrity":"sha512-cVBh4ylGp+tb/v4z3fx52M8xuAiXsYL4U66WnQRwABd1XMSXiUObC3vkr/I0i2ZTy+xnkWVcSzkKVp+hoLjjIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2XvY5zwd/q3918LclD5B+tjgFJZsKbujevmwhpCOBOAiEAhJNlgb3LpvF6b8GEhIk/qlnZe1vG+u5Ke0nYNCb9RHM="}]},"directories":{}},"1.0.0":{"name":"level-proxy","version":"1.0.0","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"events":"~1.0.0","inherits":"~2.0.1","readable-stream":"~1.1.10","shallow-copy":"~0.0.1","through2":"~0.4.1"},"devDependencies":{"tape":"~2.12.2","level":"~0.18.0","through":"~2.3.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"784665696ce7364c07b14bda443b81659ade40d7","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@1.0.0","_shasum":"9a510261901570ef6831b8b9e666212717d78124","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"9a510261901570ef6831b8b9e666212717d78124","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-1.0.0.tgz","integrity":"sha512-Zqn9IInTCqPU9qIKKDZxxhOgimR44UVlmGN+zCysmR3sALMrLO90Hs6bgqJUgqyjp3IEwbaCrIbb1+XkVw3Jig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICG7dZBF0Yi/vMW/nG5hNMWCgIYKxzLw0WVkRQ7s5S27AiAqmrgkKbrIs+XQGMhSJbAZGH3+YC11N66wIHSt16CXHA=="}]},"directories":{}},"1.1.0":{"name":"level-proxy","version":"1.1.0","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"events":"~1.0.0","inherits":"~2.0.1","readable-stream":"~1.1.10","shallow-copy":"~0.0.1","through2":"~0.4.1"},"devDependencies":{"tape":"~2.12.2","level":"~0.18.0","through":"~2.3.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"b4643a8f412ddfc1c825f567912337a507688f0e","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@1.1.0","_shasum":"bfab9fa6b5cd06504d2b316c1c3b511abf31235d","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"bfab9fa6b5cd06504d2b316c1c3b511abf31235d","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-1.1.0.tgz","integrity":"sha512-XFFjVUjnAuMHVNMZLCh/+jq3wU2eCEkpzR8GZj+oDjUX0TRowH1PnY3IwDfW4iTesDC7saiRJyG7QoAeorE65g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGSwOkZ6C52JpOO+Z5eOJcvQCQWFCpO4njZFxCXmi4pUAiBIJ8bM+IhuFwFC3VtMdQtSiRyaRuQjHqzI4GpZNQn0UA=="}]},"directories":{}},"1.1.1":{"name":"level-proxy","version":"1.1.1","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"events":"~1.0.0","inherits":"~2.0.1","readable-stream":"~1.1.10","shallow-copy":"~0.0.1","through2":"~0.4.1"},"devDependencies":{"tape":"~2.12.2","level":"~0.18.0","through":"~2.3.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"6b65c746b3de31d29ed1e0918977808f88c81146","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@1.1.1","_shasum":"c57a48bf91eafa044a9e589606639591fa57cb53","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"c57a48bf91eafa044a9e589606639591fa57cb53","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-1.1.1.tgz","integrity":"sha512-Gjd7I59VGOgVmXEBvTsr3JUCsxmeoMbFaLli8VgNgxQnwlMm0xmZnbJparewgDjysaHij4KJnyKQkMNd8qf/LA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCmN6GUCmtr1I1V75XvJRLnhdJv7HwwLnlTdgQCTq0RQIgDB9aJ6wjPJE4MlqPBBakypGDllSDqLTIZ4D5RMEJGyM="}]},"directories":{}},"1.1.2":{"name":"level-proxy","version":"1.1.2","description":"proxy a leveldb reference to swap instances transparently","main":"index.js","dependencies":{"events":"~1.0.0","inherits":"~2.0.1","readable-stream":"~1.1.10","shallow-copy":"~0.0.1","through2":"~0.4.1"},"devDependencies":{"tape":"~2.12.2","level":"~0.18.0","through":"~2.3.4"},"scripts":{"test":"tape test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","gitHead":"0e3a29775f1974a28c753edab61c64314dde2e12","bugs":{"url":"https://github.com/substack/level-proxy/issues"},"_id":"level-proxy@1.1.2","_shasum":"54855140edf0cc5a2228ca8bd40046ed29e512e0","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.31","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"dist":{"shasum":"54855140edf0cc5a2228ca8bd40046ed29e512e0","tarball":"https://registry.npmjs.org/level-proxy/-/level-proxy-1.1.2.tgz","integrity":"sha512-HoWNwRubjFWqZqcZ+2V1P41dJdo6lgZzVjvJT5GOEQp0qR89mM5CI6Jy0QEdN2fL4RE0NgdT1mkjOJ1xYdquWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQwx5uLVtMXfVtIhKRf1NE62AspsEBsfn4hIOozDTPxgIhAPpQTueCy0AqdttZAi2oc/XjYcjd4h5UuOSrrm5AxGMe"}]},"directories":{}}},"readme":"# level-proxy\n\nproxy a leveldb reference so you can swap backend instances on the fly\n\n[![build status](https://secure.travis-ci.org/substack/level-proxy.png)](http://travis-ci.org/substack/level-proxy)\n\nThis is useful for modules that need to switch out references transparently,\nlike automatically upgrading an ordinary vanilla reference into a multilevel\nhandle. You could probably also use this module to implement even crazier\nthings, like a transparent hash ring.\n\n# example\n\nIn this example, we'll create 2 db handles proxied by the level-proxy handle\n`db`: `a` and `b`. The handles will swap into being the active handle every 3\nseconds.\n\n``` js\nvar level = require('level');\nvar levelSwap = require('level-proxy');\n\nvar a = level('/tmp/db-a');\nvar b = level('/tmp/db-b');\nvar db = levelSwap(a);\n\nvar n = 0;\nsetInterval(function () { db.put('x', n++) }, 250);\n\nsetInterval(function () {\n    a.get('x', function (err, x) { console.log('a.x=', x) });\n    b.get('x', function (err, x) { console.log('b.x=', x) });\n}, 1000);\n\nvar index = 0;\nsetInterval(function () {\n    db.swap([ a, b ][++ index % 2]);\n}, 3000);\n```\n\noutput:\n\n```\n$ node example/swap.js\na.x= 2\nb.x= 22\na.x= 6\nb.x= 22\na.x= 10\nb.x= 22\na.x= 10\nb.x= 14\na.x= 10\nb.x= 18\n^C\n```\n\nYou can proxy streaming methods with buffering too:\n\n``` js\nvar level = require('level');\nvar levelProxy = require('level-proxy');\n\nvar a = level('/tmp/stream-a');\nvar b = level('/tmp/stream-b');\n\na.batch([\n    { type: 'put', key: 'a', value: 3 },\n    { type: 'put', key: 'b', value: 4 },\n    { type: 'put', key: 'c', value: 5 },\n]);\n\nb.batch([\n    { type: 'put', key: 'x', value: 7 },\n    { type: 'put', key: 'y', value: 8 },\n    { type: 'put', key: 'z', value: 9 },\n]);\n\nvar db = levelProxy();\n\nsetInterval(function () {\n    var s = db.createKeyStream();\n    var keys = [];\n    s.on('data', function (key) { keys.push(key) })\n    s.on('end', function () { console.log(keys) });\n}, 1000);\n\nvar index = 0;\nsetInterval(function () {\n    db.swap([ a, b ][++ index % 2]);\n}, 3000);\n```\n\noutput:\n\n```\n$ node example/stream.js\n[ 'x', 'y', 'z' ]\n[ 'x', 'y', 'z' ]\n[ 'x', 'y', 'z' ]\n[ 'x', 'y', 'z' ]\n[ 'x', 'y', 'z' ]\n[ 'a', 'b', 'c' ]\n[ 'a', 'b', 'c' ]\n[ 'a', 'b', 'c' ]\n[ 'x', 'y', 'z' ]\n[ 'x', 'y', 'z' ]\n[ 'x', 'y', 'z' ]\n[ 'a', 'b', 'c' ]\n^C\n```\n\n# methods\n\n``` js\nvar levelProxy = require('level-proxy');\n```\n\n## var db = levelProxy(initDb)\n\nCreate a new proxied database handle `db`, including events. All the leveldown\nmethods are available on the `db` instance and all method calls will be queued\nwhen a database handle isn't yet available so you can start using the handle\nimmediately.\n\nYou can optionally give an initial `initDb` handle to use, which is the same as\ncalling `db.swap(initDb)` after creating an instance.\n\n## db.swap(newDb)\n\nSwap out the db's internal proxy for a leveldb handle `newDb`.\n\nAny buffered method calls that have queued up will fire on `newDb` on the same\ntick.\n\nThis event triggers a `'swap'` event with the `newDb` reference.\n\n## db.get(), db.put(), db.batch(), db.createReadStream(), ...\n\nAll of these methods behave the same as with an ordinary level db handle.\n\n## db.db.iterator(), ...\n\nleveldown methods such as `db.db.iterator()` are also proxied.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install level-proxy\n```\n\n# license\n\nMIT\n","maintainers":[{"email":"nopersonsmodules@gmail.com","name":"nopersonsmodules"}],"time":{"modified":"2022-11-08T10:39:41.931Z","created":"2014-02-17T05:16:44.907Z","0.0.0":"2014-02-17T05:16:44.907Z","0.0.1":"2014-02-17T21:42:31.682Z","0.0.2":"2014-02-27T01:03:51.119Z","0.0.3":"2014-02-27T02:25:13.273Z","0.0.4":"2014-02-28T07:50:17.309Z","0.0.5":"2014-04-03T01:30:43.785Z","0.0.6":"2014-09-24T15:58:04.276Z","1.0.0":"2014-09-24T15:58:28.379Z","1.1.0":"2014-09-25T10:34:07.172Z","1.1.1":"2014-09-25T12:00:36.026Z","1.1.2":"2014-12-11T00:03:30.718Z"},"readmeFilename":"readme.markdown","homepage":"https://github.com/substack/level-proxy","keywords":["level","leveldb","proxy","swap","database"],"repository":{"type":"git","url":"git://github.com/substack/level-proxy.git"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"bugs":{"url":"https://github.com/substack/level-proxy/issues"},"license":"MIT","users":{"rocket0191":true}}