Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitignore
.travis.yml
CHANGELOG.md
CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md
index.js
package.json

README.md

create-iframe

Programmatically create an iframe that can execute javascript

npm travis standard conduct

About

Easily create an iframe with arbitrary javascript.

Extracted from browser-module-sandbox

Install

npm install --save create-iframe

Usage

var createIframe = require('create-iframe')

var code = 'console.log(\'hello\')'
var iframe = createIframe(code, { container: document.body })

Examples

Contributing

Contributions are welcome! Please read the contributing guidelines first.

Conduct

It is important that this project contributes to a friendly, safe, and welcoming environment for all. Read this project's code of conduct

Changelog

Read about the changes to this project in CHANGELOG.md. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Contact

License

MIT

You can’t perform that action at this time.