
Product
Introducing Custom Tabs for Org Alerts
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.
hypercore-strong-link
Advanced tools
Generate a strong link to a hypercore seq that contains a root hash of the merkle tree at that time
Generate a "strong" link to a hypercore seq that contains a root hash of the merkle tree at that time.
npm install hypercore-strong-link
const strongLink = require('hypercore-strong-link')
strongLink.generate(someFeed, 42, function (err, link) {
if (err) throw err
console.log(link) // {feed: someFeed.key, seq: 42, treeHash: <buf>}
strongLink.verify(someFeed, link, function (err, data) {
// returns an error the feed key doesn't match
// or if the merkle tree hash is different
if (err) throw err
// otherwise the data at the seq is returned
console.log(data)
})
})
strongLink.generate(feed, seq, cb)Generate a strong identifier. Returns an object that looks like this:
{
feed: <the-feed-key>,
seq: <seq passed in>,
treeHash: <the root hash of the merkle tree at seq>
}
strongLink.verify(feed, link, cb)Verifies a strong link and returns the data at the seq if it validates.
MIT
FAQs
Generate a strong link to a hypercore seq that contains a root hash of the merkle tree at that time
We found that hypercore-strong-link demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.