🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

hyperbee-compat

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperbee-compat

hyperbee-compat

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

hyperbee-compat

Legacy compat wrapper for hyperbee2

Usage

const HyperbeeCompat = require('hyperbee-compat')
const Hyperbee2 = require('hyperbee2')

const bee = new Hyperbee2(store)
const compat = new HyperbeeCompat(bee)

const entries = compat.createReadStream(indexEncoder)

API

compat = new HyperbeeCompat(bee, opts)

compat.ready()

compat.close()

compat.head()

compat.update(root)

compat.replicate(opts)

compat.sub(prefix, opts)

compat.snapshot()

compat.checkout(opts)

compat.undo(n)

compat.get(key, opts)

compat.peek(range, opts)

compat.download(range, opts)

compat.createReadStream(range, opts)

compat.createDiffStream(right, range, opts)

compat.put(key, value, opts)

compat.del(key, opts)

compat.write(opts)

batch.tryPut(key, value)

batch.tryDelete(key)

batch.tryClear()

batch.lock()

batch.flush()

batch.close()

License

Apache-2.0

FAQs

Package last updated on 02 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts