slp-inpage-provider
v0.0.1
Published
A bch provider that connects over a WebExtension port.
Downloads
2
Readme
SLP Inpage Provider
Used to initialize the inpage bch provider injected by SLP.
Installation
npm install slp-inpage-provider -S
Usage
// Create a stream to a remote provider:
var slpStream = new LocalMessageDuplexStream({
name: 'inpage',
target: 'contentscript',
})
// compose the inpage provider
var inpageProvider = new SlpInpageProvider(slpStream)