{"_id":"subleveldown","_rev":"1098037","name":"subleveldown","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","dist-tags":{"latest":"6.0.1"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"time":{"modified":"2021-10-02T10:20:58.000Z","created":"2014-12-22T23:56:27.614Z","6.0.1":"2021-10-02T10:18:35.698Z","6.0.0":"2021-10-01T13:51:49.222Z","5.0.1":"2020-06-26T06:01:10.225Z","5.0.0":"2020-04-05T20:41:40.857Z","4.1.4":"2019-10-08T09:53:27.411Z","4.1.3":"2019-09-17T19:19:53.291Z","4.1.2":"2019-09-12T14:27:30.381Z","4.1.1":"2019-08-18T19:55:17.276Z","4.1.0":"2019-06-28T09:39:32.192Z","4.0.0":"2019-04-06T10:37:55.409Z","3.0.1":"2018-07-27T14:39:28.196Z","3.0.0":"2018-06-07T20:07:23.777Z","3.0.0-rc1":"2018-06-03T10:10:26.854Z","2.1.0":"2015-10-30T20:26:02.857Z","2.0.0":"2015-02-03T23:36:37.045Z","1.1.0":"2015-01-28T12:08:57.697Z","1.0.6":"2015-01-06T20:08:12.443Z","1.0.5":"2015-01-06T19:53:49.722Z","1.0.4":"2014-12-31T01:14:28.494Z","1.0.3":"2014-12-31T00:45:37.062Z","1.0.2":"2014-12-31T00:43:12.678Z","1.0.1":"2014-12-29T00:38:18.724Z","1.0.0":"2014-12-22T23:56:27.614Z"},"users":{"kemitchell":true,"matteo.collina":true,"akiva":true,"austinjk":true},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/Level/subleveldown.git"},"versions":{"6.0.1":{"name":"subleveldown","version":"6.0.1","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && (nyc -s node test | faucet) && nyc report","test-browsers-local":"airtap test/index.js","coverage":"nyc report -r lcovonly","hallmark":"hallmark --fix","dependency-check":"dependency-check --no-dev .","prepublishOnly":"npm run dependency-check"},"dependencies":{"abstract-leveldown":"^7.2.0","encoding-down":"^7.1.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^5.1.1","reachdown":"^1.1.0"},"devDependencies":{"after":"^0.8.2","airtap":"^4.0.3","airtap-playwright":"^1.0.1","dependency-check":"^4.1.0","faucet":"^0.0.1","hallmark":"^3.1.0","level-concat-iterator":"^3.0.0","memdown":"^6.1.0","nyc":"^15.1.0","standard":"^16.0.3","tape":"^5.0.1"},"repository":{"type":"git","url":"git+https://github.com/Level/subleveldown.git"},"homepage":"https://github.com/Level/subleveldown","bugs":{"url":"https://github.com/Level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=10"},"gitHead":"214473341e7bbf0734eb5e2a1f6fdd721db2bc79","_id":"subleveldown@6.0.1","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"shasum":"6fce7a2339d6acd0b44fe9881190c14b61703835","size":10651,"noattachment":false,"key":"/subleveldown/-/subleveldown-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-6.0.1.tgz"},"_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"directories":{},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_6.0.1_1633169915550_0.7723007193935201"},"_hasShrinkwrap":false,"publish_time":1633169915698,"_cnpm_publish_time":1633169915698},"6.0.0":{"name":"subleveldown","version":"6.0.0","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && (nyc -s node test | faucet) && nyc report","test-browsers-local":"airtap test/index.js","coverage":"nyc report -r lcovonly","hallmark":"hallmark --fix","dependency-check":"dependency-check --no-dev .","prepublishOnly":"npm run dependency-check"},"dependencies":{"abstract-leveldown":"^7.2.0","encoding-down":"^7.1.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^5.1.0","reachdown":"^1.1.0"},"devDependencies":{"after":"^0.8.2","airtap":"^4.0.3","airtap-playwright":"^1.0.1","dependency-check":"^4.1.0","faucet":"^0.0.1","hallmark":"^3.1.0","level-concat-iterator":"^3.0.0","memdown":"^6.1.0","nyc":"^15.1.0","standard":"^16.0.3","tape":"^5.0.1"},"repository":{"type":"git","url":"git+https://github.com/Level/subleveldown.git"},"homepage":"https://github.com/Level/subleveldown","bugs":{"url":"https://github.com/Level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=10"},"gitHead":"4ed83e6f1202bb752f7b5720051f32be22c4ad21","_id":"subleveldown@6.0.0","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"shasum":"3ec506f3f34aae9b75882cac5f5cba4f8a46b166","size":10688,"noattachment":false,"key":"/subleveldown/-/subleveldown-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-6.0.0.tgz"},"_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"directories":{},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_6.0.0_1633096309009_0.08777782598225681"},"_hasShrinkwrap":false,"publish_time":1633096309222,"_cnpm_publish_time":1633096309222},"5.0.1":{"name":"subleveldown","version":"5.0.1","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && (nyc -s node test | faucet) && nyc report","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check --no-dev .","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.3.0","encoding-down":"^6.2.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.4.0","reachdown":"^1.1.0"},"devDependencies":{"after":"^0.8.2","coveralls":"^3.0.2","dependency-check":"^4.1.0","faucet":"^0.0.1","hallmark":"^2.0.0","level-community":"^3.0.0","level-concat-iterator":"^2.0.1","memdown":"^5.0.0","nyc":"^14.0.0","standard":"^14.0.0","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"8ab7dc7d9ff220e39eb6dcc9d2295e3c16415251","_id":"subleveldown@5.0.1","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"aa2b4e4698a48d9a86856b2c4df1b6bce2d2ce53","size":14259,"noattachment":false,"key":"/subleveldown/-/subleveldown-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-5.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_5.0.1_1593151270050_0.400411314553476"},"_hasShrinkwrap":false,"publish_time":1593151270225,"_cnpm_publish_time":1593151270225},"5.0.0":{"name":"subleveldown","version":"5.0.0","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && (nyc -s node test | faucet) && nyc report","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check --no-dev .","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.2.3","encoding-down":"^6.2.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.3.1","reachdown":"^1.1.0"},"devDependencies":{"after":"^0.8.2","coveralls":"^3.0.2","dependency-check":"^4.1.0","faucet":"^0.0.1","hallmark":"^2.0.0","level-community":"^3.0.0","level-concat-iterator":"^2.0.1","memdown":"^5.0.0","nyc":"^14.0.0","standard":"^14.0.0","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"b53770cb5d3267867fd8353dc2d0815cf90a35e4","_id":"subleveldown@5.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"40449c28b418d83569efdb48acebe29d7b55b557","size":13994,"noattachment":false,"key":"/subleveldown/-/subleveldown-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-5.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_5.0.0_1586119300732_0.12072510030288774"},"_hasShrinkwrap":false,"publish_time":1586119300857,"_cnpm_publish_time":1586119300857},"4.1.4":{"name":"subleveldown","version":"4.1.4","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && (nyc -s node test | faucet) && nyc report","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test/*.js","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.1.1","encoding-down":"^6.2.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.3.1","reachdown":"^1.0.0"},"devDependencies":{"after":"^0.8.2","coveralls":"^3.0.2","dependency-check":"^3.3.0","faucet":"^0.0.1","hallmark":"^2.0.0","level-community":"^3.0.0","level-concat-iterator":"^2.0.1","memdb":"^1.3.1","memdown":"^5.0.0","nyc":"^14.0.0","standard":"^14.0.0","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"b50ba68a2a0a2d97683ef8f44ecda9ed9b1077de","_id":"subleveldown@4.1.4","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"3579563e4de4b811008046ad33280679bc39dba4","size":11531,"noattachment":false,"key":"/subleveldown/-/subleveldown-4.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-4.1.4.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_4.1.4_1570528407271_0.03781227702799406"},"_hasShrinkwrap":false,"publish_time":1570528407411,"_cnpm_publish_time":1570528407411},"4.1.3":{"name":"subleveldown","version":"4.1.3","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && (nyc -s node test | faucet) && nyc report","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test/*.js","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.1.1","encoding-down":"^6.2.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.2.0","reachdown":"^1.0.0"},"devDependencies":{"after":"^0.8.2","coveralls":"^3.0.2","dependency-check":"^3.3.0","faucet":"^0.0.1","hallmark":"^2.0.0","level-community":"^3.0.0","level-concat-iterator":"^2.0.1","memdb":"^1.3.1","memdown":"^5.0.0","nyc":"^14.0.0","standard":"^14.0.0","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"42eca3529bac10cdcec632e71ff9d85d775d6592","_id":"subleveldown@4.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"1083a05e0ef106bf5899496dd9ef6c6a6e3b1046","size":11314,"noattachment":false,"key":"/subleveldown/-/subleveldown-4.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-4.1.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_4.1.3_1568747993179_0.43224423408747725"},"_hasShrinkwrap":false,"publish_time":1568747993291,"_cnpm_publish_time":1568747993291},"4.1.2":{"name":"subleveldown","version":"4.1.2","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && nyc node test","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test/*.js","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.1.1","encoding-down":"^6.2.0","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.2.0"},"devDependencies":{"after":"^0.8.2","coveralls":"^3.0.2","dependency-check":"^3.3.0","hallmark":"^2.0.0","level-community":"^3.0.0","level-concat-iterator":"^2.0.1","memdown":"^5.0.0","nyc":"^14.0.0","standard":"^14.0.0","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"6df0dceaa713f3d585341c50925bd174ed9adb23","_id":"subleveldown@4.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"0519eaf928354efb1b24bccd9afa954491d9c82c","size":10622,"noattachment":false,"key":"/subleveldown/-/subleveldown-4.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-4.1.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_4.1.2_1568298450264_0.45082188313856464"},"_hasShrinkwrap":false,"publish_time":1568298450381,"_cnpm_publish_time":1568298450381},"4.1.1":{"name":"subleveldown","version":"4.1.1","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && nyc node test","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test/*.js","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.0.2","encoding-down":"^6.0.1","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.0.1"},"devDependencies":{"coveralls":"^3.0.2","dependency-check":"^3.3.0","hallmark":"^1.0.0","level-community":"^3.0.0","memdown":"^5.0.0","nyc":"^14.0.0","standard":"^13.0.1","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"3b6db09e2564768d77644ae44c99a3955dd13c29","_id":"subleveldown@4.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"3776f7c90738239e798b4f7e02e2c56dbcc6d482","size":9766,"noattachment":false,"key":"/subleveldown/-/subleveldown-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-4.1.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_4.1.1_1566158117086_0.535588500698597"},"_hasShrinkwrap":false,"publish_time":1566158117276,"_cnpm_publish_time":1566158117276},"4.1.0":{"name":"subleveldown","version":"4.1.0","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && nyc node test","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test/*.js","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.0.2","encoding-down":"^6.0.1","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.0.1"},"devDependencies":{"coveralls":"^3.0.2","dependency-check":"^3.3.0","hallmark":"^0.1.0","level-community":"^3.0.0","memdown":"^4.0.0","nyc":"^14.0.0","standard":"^12.0.1","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"aa16a286120b8623ca78497bdd07f36cd9387329","_id":"subleveldown@4.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"c4d9cd285b30be427c2892a554f9cd5a3cfdb641","size":9691,"noattachment":false,"key":"/subleveldown/-/subleveldown-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-4.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_4.1.0_1561714772091_0.3828730548586097"},"_hasShrinkwrap":false,"publish_time":1561714772192,"_cnpm_publish_time":1561714772192},"4.0.0":{"name":"subleveldown","version":"4.0.0","description":"Split a levelup database into sublevels with their own keyspace, encoding and events","author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","main":"index.js","scripts":{"test":"standard && hallmark && nyc node test","coverage":"nyc report --reporter=text-lcov | coveralls","hallmark":"hallmark --fix","dependency-check":"dependency-check . test/*.js","prepublishOnly":"npm run dependency-check"},"directories":{"test":"test"},"dependencies":{"abstract-leveldown":"^6.0.2","encoding-down":"^6.0.1","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^4.0.1"},"devDependencies":{"coveralls":"^3.0.2","dependency-check":"^3.3.0","hallmark":"^0.1.0","level-community":"^3.0.0","memdown":"^4.0.0","nyc":"^13.3.0","standard":"^12.0.1","tape":"^4.9.0"},"hallmark":{"community":"level-community"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"homepage":"https://github.com/level/subleveldown","bugs":{"url":"https://github.com/level/subleveldown/issues"},"keywords":["level"],"engines":{"node":">=6"},"gitHead":"d7385434fa270649488dc5fa2af67d8efd9ba0f4","_id":"subleveldown@4.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"vweevers","email":"dev@vincentweevers.nl"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"bd76c2edc1cbc81bfe4a170389b84aed80747bd6","size":9426,"noattachment":false,"key":"/subleveldown/-/subleveldown-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-4.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_4.0.0_1554547075103_0.6810747422146386"},"_hasShrinkwrap":false,"publish_time":1554547075409,"_cnpm_publish_time":1554547075409},"3.0.1":{"name":"subleveldown","version":"3.0.1","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^5.0.0","encoding-down":"^5.0.3","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^3.0.1"},"devDependencies":{"coveralls":"^3.0.2","memdown":"^3.0.0","nyc":"^12.0.2","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/level/subleveldown/issues"},"homepage":"https://github.com/level/subleveldown","directories":{"test":"test"},"scripts":{"test":"standard && nyc node test","coverage":"nyc report --reporter=text-lcov | coveralls"},"engines":{"node":">=6"},"gitHead":"f0b5646bde3da53a466cd3da93f2d0526e275e42","_id":"subleveldown@3.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.7.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"b29514755c25e2faeeba9874110d868718bbedb1","size":8033,"noattachment":false,"key":"/subleveldown/-/subleveldown-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-3.0.1.tgz"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_3.0.1_1532702368102_0.14045452224990385"},"_hasShrinkwrap":false,"publish_time":1532702368196,"_cnpm_publish_time":1532702368196},"3.0.0":{"name":"subleveldown","version":"3.0.0","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^5.0.0","encoding-down":"^5.0.3","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^3.0.1"},"devDependencies":{"memdown":"^3.0.0","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/level/subleveldown/issues"},"homepage":"https://github.com/level/subleveldown","directories":{"test":"test"},"scripts":{"test":"standard && node test"},"engines":{"node":">=6"},"gitHead":"4f22f0bc477eb9b3ac4676a90f6b25742752471a","_id":"subleveldown@3.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.1.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"dafb291cdaa0758b63883ddb1b4e4f2e4ad40d56","size":7838,"noattachment":false,"key":"/subleveldown/-/subleveldown-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-3.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_3.0.0_1528402043700_0.6611696164526721"},"_hasShrinkwrap":false,"publish_time":1528402043777,"_cnpm_publish_time":1528402043777},"3.0.0-rc1":{"name":"subleveldown","version":"3.0.0-rc1","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^5.0.0","encoding-down":"^5.0.3","inherits":"^2.0.3","level-option-wrap":"^1.1.0","levelup":"^3.0.1"},"devDependencies":{"memdown":"^3.0.0","standard":"^11.0.1","tape":"^4.9.0"},"repository":{"type":"git","url":"git+https://github.com/level/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/level/subleveldown/issues"},"homepage":"https://github.com/level/subleveldown","directories":{"test":"test"},"scripts":{"test":"standard && node test"},"engines":{"node":">=6"},"readmeFilename":"README.md","gitHead":"ca9b6b16f3f002ae648022ae96aa356db32c47c0","_id":"subleveldown@3.0.0-rc1","_npmVersion":"6.1.0","_nodeVersion":"10.1.0","_npmUser":{"name":"ralphtheninja","email":"ralphtheninja@riseup.net"},"dist":{"shasum":"7f395d0792c66faa3e8f3d1aa80bb78c4e329707","size":7736,"noattachment":false,"key":"/subleveldown/-/subleveldown-3.0.0-rc1.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-3.0.0-rc1.tgz"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/subleveldown_3.0.0-rc1_1528020626782_0.5434723920200979"},"_hasShrinkwrap":false,"publish_time":1528020626854,"_cnpm_publish_time":1528020626854},"2.1.0":{"name":"subleveldown","version":"2.1.0","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.4.1","level-option-wrap":"^1.1.0","levelup":"^1.2.1"},"devDependencies":{"memdown":"^1.1.0","standard":"^5.3.1","tape":"^4.2.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"standard && node test"},"gitHead":"96370f7b4231d3fa4ea58a8e544da7782e6de5bf","_id":"subleveldown@2.1.0","_shasum":"b23eca23c228772a67c6c4e449694304f0d706a1","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"b23eca23c228772a67c6c4e449694304f0d706a1","size":3966,"noattachment":false,"key":"/subleveldown/-/subleveldown-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-2.1.0.tgz"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"publish_time":1446236762857,"_cnpm_publish_time":1446236762857,"_hasShrinkwrap":false},"2.0.0":{"name":"subleveldown","version":"2.0.0","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0","tape":"^3.0.3"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"81a50a2bc0cd2e1a640f6097c22dba4554cd1cec","_id":"subleveldown@2.0.0","_shasum":"813ea4d79af2acdcd27513987c4778336520fc8d","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.36","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"813ea4d79af2acdcd27513987c4778336520fc8d","size":3947,"noattachment":false,"key":"/subleveldown/-/subleveldown-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-2.0.0.tgz"},"publish_time":1423006597045,"_cnpm_publish_time":1423006597045,"_hasShrinkwrap":false},"1.1.0":{"name":"subleveldown","version":"1.1.0","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0","tape":"^3.0.3"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"07344fd54566c24831f68a3cd11b4332123a0f58","_id":"subleveldown@1.1.0","_shasum":"f3e6a41d33a0dfdb7dc98e83b3f6bad8aab9f9da","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"f3e6a41d33a0dfdb7dc98e83b3f6bad8aab9f9da","size":3951,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.1.0.tgz"},"publish_time":1422446937697,"_cnpm_publish_time":1422446937697,"_hasShrinkwrap":false},"1.0.6":{"name":"subleveldown","version":"1.0.6","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0","tape":"^3.0.3"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"172a3db47573dc8538e9f20a7b83f1f8ed5a920b","_id":"subleveldown@1.0.6","_shasum":"c0cd447f8c5423fa3bed02460ef9913da4ccb4c2","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"c0cd447f8c5423fa3bed02460ef9913da4ccb4c2","size":3946,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.6.tgz"},"publish_time":1420574892443,"_cnpm_publish_time":1420574892443,"_hasShrinkwrap":false},"1.0.5":{"name":"subleveldown","version":"1.0.5","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0","tape":"^3.0.3"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"e2dd3180a65f82a64ef5a0aab1be6ad44321a287","_id":"subleveldown@1.0.5","_shasum":"a00c61ab966c5f3af8234abfd4c6b5dbd5777035","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"a00c61ab966c5f3af8234abfd4c6b5dbd5777035","size":3916,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.5.tgz"},"publish_time":1420574029722,"_cnpm_publish_time":1420574029722,"_hasShrinkwrap":false},"1.0.4":{"name":"subleveldown","version":"1.0.4","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0","tape":"^3.0.3"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"cea7a668a076dd82c6b66b702e2a9e8520564aa2","_id":"subleveldown@1.0.4","_shasum":"d162a06f9898a4ac884776bd23f86d5380b6b8f7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"d162a06f9898a4ac884776bd23f86d5380b6b8f7","size":3896,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.4.tgz"},"publish_time":1419988468494,"_cnpm_publish_time":1419988468494,"_hasShrinkwrap":false},"1.0.3":{"name":"subleveldown","version":"1.0.3","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0","tape":"^3.0.3"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"6fb8d9c4ee1a5d7662a5ffbb4cc3f85d492b1949","_id":"subleveldown@1.0.3","_shasum":"8bc6a6f4150cdf28f16f3580e623e580ec53fe7b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"8bc6a6f4150cdf28f16f3580e623e580ec53fe7b","size":3872,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.3.tgz"},"publish_time":1419986737062,"_cnpm_publish_time":1419986737062,"_hasShrinkwrap":false},"1.0.2":{"name":"subleveldown","version":"1.0.2","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdown":"^1.0.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"node test"},"gitHead":"4f3ad26e5822a6f90fc2e206e371a5deb0605609","_id":"subleveldown@1.0.2","_shasum":"f0951ea97d7d4b14aab8bc9ef8f6916691737a52","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"f0951ea97d7d4b14aab8bc9ef8f6916691737a52","size":3862,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.2.tgz"},"publish_time":1419986592678,"_cnpm_publish_time":1419986592678,"_hasShrinkwrap":false},"1.0.1":{"name":"subleveldown","version":"1.0.1","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdb":"^0.2.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"d1197d9c60324eaae9fec1f08a3e519b1b4dd257","_id":"subleveldown@1.0.1","_shasum":"0805c7ce870371f8ec0fce842d7aea1489245490","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"0805c7ce870371f8ec0fce842d7aea1489245490","size":4866,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.1.tgz"},"publish_time":1419813498724,"_cnpm_publish_time":1419813498724,"_hasShrinkwrap":false},"1.0.0":{"name":"subleveldown","version":"1.0.0","description":"sublevels implemented using leveldowns","main":"index.js","dependencies":{"abstract-leveldown":"^2.1.0","level-option-wrap":"^1.1.0","levelup":"^0.19.0"},"devDependencies":{"memdb":"^0.2.0"},"repository":{"type":"git","url":"https://github.com/mafintosh/subleveldown.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/subleveldown/issues"},"homepage":"https://github.com/mafintosh/subleveldown","directories":{"test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"b80259d64c773868e97eca024090b3cf6993d105","_id":"subleveldown@1.0.0","_shasum":"ec0c9010e1362343039078bede0c17726c2e1174","_from":".","_npmVersion":"2.1.8","_nodeVersion":"0.10.33","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""},{"name":"ralphtheninja","email":""},{"name":"vweevers","email":""}],"dist":{"shasum":"ec0c9010e1362343039078bede0c17726c2e1174","size":3398,"noattachment":false,"key":"/subleveldown/-/subleveldown-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/subleveldown/download/subleveldown-1.0.0.tgz"},"publish_time":1419292587614,"_cnpm_publish_time":1419292587614,"_hasShrinkwrap":false}},"readme":"# subleveldown\n\n> Split a [`levelup`][levelup] database into _sublevels_ with their own keyspace, encoding and events.\n\n[![level badge][level-badge]](https://github.com/Level/awesome)\n[![npm](https://img.shields.io/npm/v/subleveldown.svg)](https://www.npmjs.com/package/subleveldown)\n[![Node version](https://img.shields.io/node/v/subleveldown.svg)](https://www.npmjs.com/package/subleveldown)\n[![Test](https://img.shields.io/github/workflow/status/Level/subleveldown/Test?label=test)](https://github.com/Level/subleveldown/actions/workflows/test.yml)\n[![Coverage](https://img.shields.io/codecov/c/github/Level/subleveldown?label=&logo=codecov&logoColor=fff)](https://codecov.io/gh/Level/subleveldown)\n[![Standard](https://img.shields.io/badge/standard-informational?logo=javascript&logoColor=fff)](https://standardjs.com)\n[![Common Changelog](https://common-changelog.org/badge.svg)](https://common-changelog.org)\n[![Donate](https://img.shields.io/badge/donate-orange?logo=open-collective&logoColor=fff)](https://opencollective.com/level)\n\n## Table of Contents\n\n<details><summary>Click to expand</summary>\n\n- [Usage](#usage)\n- [Background](#background)\n- [API](#api)\n  - [`subdb = sub(db[, prefix][, options])`](#subdb--subdb-prefix-options)\n- [Install](#install)\n- [Contributing](#contributing)\n- [Donate](#donate)\n- [License](#license)\n\n</details>\n\n## Usage\n\n_If you are upgrading: please see [UPGRADING.md](UPGRADING.md)._\n\n```js\nconst sub = require('subleveldown')\nconst level = require('level')\n\nconst db = level('db')\nconst example = sub(db, 'example')\nconst nested = sub(example, 'nested')\n```\n\nThe `example` and `nested` db's are just regular [`levelup`][levelup] instances:\n\n```js\nexample.put('hello', 'world', function () {\n  nested.put('hi', 'welt', function () {\n    // Prints { key: 'hi', value: 'welt' }\n    nested.createReadStream().on('data', console.log)\n  })\n})\n```\n\nOr with promises and iterators:\n\n```js\nawait example.put('hello', 'world')\nawait nested.put('hi', 'welt')\n\nfor await (const [key, value] of nested.iterator()) {\n  // Prints ['hi', 'welt']\n  console.log([key, value])\n}\n```\n\nSublevels see their own keys as well as keys of any nested sublevels:\n\n```js\n// Prints:\n// { key: '!nested!hi', value: 'welt' }\n// { key: 'hello', value: 'world' }\nexample.createReadStream().on('data', console.log)\n```\n\nThey also support `db.clear()` which is very useful to empty a bucket of stuff:\n\n```js\nexample.clear(function (err) {})\n\n// Or delete a range within `example`\nexample.clear({ gt: 'hello' }, function (err) {})\n\n// With promises\nawait example.clear()\n```\n\n## Background\n\n`subleveldown` separates a [`levelup`][levelup] database into sections - or _sublevels_ from here on out. Think SQL tables, but evented, ranged and realtime!\n\nEach sublevel is a `levelup` of its own. This means it has the exact same interface as its parent database, but its own keyspace and [events](https://github.com/Level/levelup#events). In addition, sublevels are individually wrapped with [`encoding-down`][encoding-down], giving us per-sublevel encodings. For example, it's possible to have one sublevel with Buffer keys and another with `'utf8'` encoded keys. The same goes for values. Like so:\n\n```js\nsub(db, 'one', { valueEncoding: 'json' })\nsub(db, 'two', { keyEncoding: 'binary' })\n```\n\nThere is one limitation, however: keys must _encode to_ either strings or Buffers. This is not likely to affect you, unless you use custom encodings or the `id` encoding (which bypasses encodings and thus makes it your responsibility to ensure keys are either strings or Buffers). If in that case you do pass in a key that is not a string or Buffer, it will be irreversibly converted to a string.\n\nAuthored by [@mafintosh](https://github.com/mafintosh) and inspired by [`level-sublevel`][level-sublevel] by [@dominictarr](https://github.com/dominictarr), `subleveldown` has become an official part of [Level][level-org]. As `level-sublevel` is no longer under active development, we recommend switching to `subleveldown` to get the latest and greatest of the Level ecosystem. These two modules largely offer the same functionality, except for [hooks](https://github.com/dominictarr/level-sublevel#hooks) and [per-batch prefixes](https://github.com/dominictarr/level-sublevel#batches).\n\n## API\n\n### `subdb = sub(db[, prefix][, options])`\n\nReturns a `levelup` instance that uses subleveldown to prefix the keys of the underlying store of `db`. The required `db` parameter must be a `levelup` instance. Any layers that this instance may have (like `encoding-down` or `subleveldown` itself) are peeled off to get to the innermost [`abstract-leveldown`][abstract-leveldown] compliant store (like `leveldown`). This ensures there is no double encoding step.\n\nThe `prefix` must be a string. If omitted, the effective prefix is two separators, e.g. `'!!'`. If `db` is already a subleveldown-powered instance, the effective prefix is a combined prefix, e.g. `'!one!!two!'`.\n\nThe optional `options` parameter has the following `subleveldown` specific properties:\n\n- `separator` _(string, default: `'!'`)_ Character for separating sublevel prefixes from user keys and each other. Must sort before characters used in prefixes. An error will be thrown if that's not the case.\n- `open` _(function)_ Optional open hook called when the underlying `levelup` instance has been opened. The hook receives a callback which must be called to finish opening.\n\nAny other `options` are passed along to the underlying [`levelup`][levelup] and [`encoding-down`][encoding-down] constructors. See their documentation for further details.\n\n## Install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm i subleveldown -S\n```\n\n## Contributing\n\n[`Level/subleveldown`](https://github.com/Level/subleveldown) is an **OPEN Open Source Project**. This means that:\n\n> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.\n\nSee the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details.\n\n## Donate\n\nSupport us with a monthly donation on [Open Collective](https://opencollective.com/level) and help us continue our work.\n\n## License\n\n[MIT](LICENSE)\n\n[level-badge]: https://leveljs.org/img/badge.svg\n\n[levelup]: https://github.com/Level/levelup\n\n[encoding-down]: https://github.com/Level/encoding-down\n\n[abstract-leveldown]: https://github.com/Level/abstract-leveldown\n\n[level-sublevel]: https://github.com/dominictarr/level-sublevel\n\n[level-org]: https://github.com/Level\n","_attachments":{},"homepage":"https://github.com/Level/subleveldown","bugs":{"url":"https://github.com/Level/subleveldown/issues"},"license":"MIT"}