# roy-web-sandbox

> sandbox environment where running javascript in browser

Latest version **0.1.12** (published 2020-08-15) · 0 weekly downloads

## Install

```sh
npm install roy-web-sandbox
pnpm add roy-web-sandbox
yarn add roy-web-sandbox
bun add roy-web-sandbox
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.12 |
| Published | 2020-08-15 |
| First published | 2020-06-06 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 38.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | bluefox |
| Maintainers | bluefox005 |

## Links

- npm: https://www.npmjs.com/package/roy-web-sandbox
- npm.io page: https://npm.io/package/roy-web-sandbox

## Dependencies (1)

- [@babel/runtime-corejs3](https://npm.io/package/@babel/runtime-corejs3.md) ^7.5.5

## Recent versions

- 0.1.12 (latest) — 2020-08-15
- 0.1.11 — 2020-06-14
- 0.1.10 — 2020-06-13
- 0.1.9 — 2020-06-13
- 0.1.8 — 2020-06-06
- 0.1.7 — 2020-06-06
- 0.1.6 — 2020-06-06

## README

# roy-web-sandbox

> sandbox environment where running javascript in browser

## Build Setup

``` bash
# install dependencies
npm install

# build for development
npm run dev

# build for production
npm run build
```

## Install

```bash
npm install --save roy-web-sandbox
```

## Usage

```javascript
import sandboxManager from 'roy-web-sandbox';

const sandbox = sandboxManager.create(`
window.a = 10;
console.log(window.a);
`);

sandbox.mount();  // 10
console.log(window.a); // undefined

```

---
_Source: https://npm.io/package/roy-web-sandbox · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
