intercept-hypercore-storage
Intercept the data storage in a hypercore. Made for the datdot project
npm i --save intercept-hypercore-storage
const intercept = // Get an instance of a hypercoreconst feed = // Start interceptingconst unintercept = // Replicate the feed with a peerfeed // If you're done intercepting and want to clean up the monkey patching, use this.
How it works
The module will monkey-patch your hypercore instance and intercept it's attempts to store and retrieve the data portion.