# @jayway/getsandbox-express

> getsandbox-express adapter and cli

Latest version **1.5.0** (published 2018-10-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jayway/getsandbox-express
pnpm add @jayway/getsandbox-express
yarn add @jayway/getsandbox-express
bun add @jayway/getsandbox-express
```

Provides the command `sandbox`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.5.0 |
| Published | 2018-10-29 |
| First published | 2018-10-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 (+20 in 2 direct dependencies) |
| Install scripts | no |
| Author | xbtsw |
| Maintainers | hugojosefson, malcolmeriksson |

## Links

- npm: https://www.npmjs.com/package/@jayway/getsandbox-express
- Repository: https://github.com/jayway/getsandbox-express
- Homepage: https://github.com/jayway/getsandbox-express#readme
- Issues: https://github.com/jayway/getsandbox-express/issues
- npm.io page: https://npm.io/package/@jayway/getsandbox-express

## Dependencies (13)

- [faker](https://npm.io/package/faker.md) ^3.1.0
- [amanda](https://npm.io/package/amanda.md) ^0.5.1
- [lodash](https://npm.io/package/lodash.md) ^4.11.1
- [moment](https://npm.io/package/moment.md) ^2.12.0
- [express](https://npm.io/package/express.md) ^4.16.3
- [resolve](https://npm.io/package/resolve.md) ^1.1.7
- [callsite](https://npm.io/package/callsite.md) ^1.0.0
- [liquidjs](https://npm.io/package/liquidjs.md) ^6.0.0
- [validator](https://npm.io/package/validator.md) ^5.2.0
- [body-parser](https://npm.io/package/body-parser.md) ^1.18.3
- [morgan-body](https://npm.io/package/morgan-body.md) ^2.4.5
- [require-like](https://npm.io/package/require-like.md) ^0.1.2
- [moment-timezone](https://npm.io/package/moment-timezone.md) ^0.5.3

## Recent versions

- 1.5.0 (latest) — 2018-10-29
- 1.4.1 — 2018-10-24
- 1.4.0 — 2018-10-23
- 1.3.0 — 2018-10-23
- 1.2.0 — 2018-10-23

## README

# @jayway/getsandbox-express
A getsandbox.com to express adapter

## Usage

### as command-line tool, without installing

```bash
npx @jayway/getsandbox-express <main.js> [<port>]
```

Alternatively, if you want to install it globally:

```bash
npm install -g @jayway/getsandbox-express
sandbox <main.js> [<port>]
```

Default port is `8080`.

### as Node.js module

```js
const sandbox = require('@jayway/getsandbox-express')
const express = require('express')

const app = express()
sandbox.loadSandbox(app, __dirname + '/mysandbox/main.js')

const port = 8080
app.listen(port, () => {
  console.log(`Sandbox listening on port ${port}.`)
})
```

---
_Source: https://npm.io/package/@jayway/getsandbox-express · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
