hyperbee:在Hypercore上运行的仅附加Btree

时间:2021-03-20 16:38:42
【文件属性】:
文件名称:hyperbee:在Hypercore上运行的仅附加Btree
文件大小:28KB
文件格式:ZIP
更新时间:2021-03-20 16:38:42
JavaScript 超级蜂 :honeybee: 在Hypercore上运行的仅附加Btree。允许排序迭代等等。 npm install hyperbee 用法 const Hyperbee = require ( 'hyperbee' ) const db = new Hyperbee ( feed , { keyEncoding : 'utf-8' , // can be set to undefined (binary), utf-8, ascii or and abstract-encoding valueEncoding : 'binary' // same options as above } ) // if you own the feed await db . put ( 'key' , 'value' ) await db . del ( 'some-key' ) // if you want t
【文件预览】:
hyperbee-master
----.gitignore(43B)
----package.json(942B)
----schema.proto(1KB)
----LICENSE(1KB)
----index.js(22KB)
----iterators()
--------diff.js(5KB)
--------history.js(1KB)
--------range.js(4KB)
----.github()
--------workflows()
----examples()
--------imdb()
----README.md(5KB)
----lib()
--------extension.js(3KB)
--------messages.js(27KB)
----test()
--------all.js(8KB)
--------diff.js(952B)
--------batches.js(1KB)
--------helpers()
--------history.js(4KB)
--------ranges.js(515B)

网友评论