New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

javascript-sandbox

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascript-sandbox

Simple, clientside JavaScript sandbox

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

JavaScript Sandbox

Really simple way to bind output of JS in some way to a sort of secure iFrame (sandboxed). We won't worry too much about securing the JS for now.

This is mainly used for the Decode website's tutorials, but feel free to get stuck in.

Dependencies

CodeMirror for the editor, BonsaiJS for the output. The editor script will appropriately detect CodeMirror to import in module loader circumstances, but Bonsai must be available as a global for the output script to work (so only in the iFrame).

FAQs

Package last updated on 29 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts