package
Like level-sublevel but with links to nested keyspaces
npm install sublinkGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Like level-sublevel but with links to nested keyspaces.
So you can make traversable hierarchies.
Keys are sorted as utf8. U+10FFFF (0xF4, 0x8F, 0xBF, 0xBF) is used as a separator (so you can use any unicode string as a key), and keys pointing to nested keyspaces are suffixed with U+0000 (0x00) so they can be detected without reading any value data.
var memup = require('memdb')
var Sublink = require('../')
var db = Sublink(memup())
db.put('x', '42', function () {
var y = db.sublink('y')
y.put('x', '42', function () {
var rs = db.createReadStream()
rs.on('data', function (chunk) {
console.log
$ npm install sublink$ npm run testname propertysuperlink methodWTFPL