Skip to content

maxbates/pokey

Repository files navigation

Pokey.js

Create (mostly secure?) sandboxes, initially using iFrames, later also with workers, and establish clear message channels to hide complexity of postMessage() interface.

Getting started

You will need Chrome v45 (latest stable)

From the terminal:

npm install -g gulp browserify babel
npm install && bower install
gulp serve:external
gulp serve

A page should open with an example.

Look at app/main.js and app/external.js and app/index.html and app/external.html respectively

todo

  • make events + payloads more consistent. document.

  • doc services, example

MORE EXAMPLES FORTHCOMING

inspired by oasis.js, with some changes + moved to ES6

About

Stay safe, and throw your nodes in the pokey!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published