1.1.2 • Published 7 years ago

ssb-frame v1.1.2

Weekly downloads
-
License
Fair
Repository
-
Last release
7 years ago

ssb-frame

Embed an SSB blob in an iframe. If it is an HTML blob, inject an RPC object into it, to proxy SSB methods.

Install

npm install
npm run build

Usage

var createFrame = require('ssb-frame')(ssb, ssbManifest)

var iframe = createFrame('&blobId...')
document.body.appendChild(iframe)

License

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.