开发者社区> 镜像站> NPM> ssb-frame
ssb-frame
sandboxed iframe for ssb web apps
Last updated 4 years ago by cel .
Fair · Original npm · Tarball · package.json
$ cnpm install ssb-frame 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.2                                ...           latest (4 years ago)

3 Versions

  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None