# mockeroni

> a tiny tool for mocking data

Latest version **0.3.4** (published 2017-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install mockeroni
pnpm add mockeroni
yarn add mockeroni
bun add mockeroni
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.4 |
| Published | 2017-04-10 |
| First published | 2017-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| Author | Emma Ramirez |
| Maintainers | emmaramirez |
| Keywords | mocking, data |

## Links

- npm: https://www.npmjs.com/package/mockeroni
- Repository: https://github.com/BeStateless/mockeroni
- Homepage: https://github.com/BeStateless/mockeroni#readme
- Issues: https://github.com/BeStateless/mockeroni/issues
- npm.io page: https://npm.io/package/mockeroni

## Dependencies (10)

- [ws](https://npm.io/package/ws.md) ^2.2.2
- [uuid](https://npm.io/package/uuid.md) ^3.0.1
- [tslint](https://npm.io/package/tslint.md) ^5.0.0
- [express](https://npm.io/package/express.md) ^4.15.2
- [websocket](https://npm.io/package/websocket.md) ^1.0.24
- [typescript](https://npm.io/package/typescript.md) ^2.2.2
- [@types/node](https://npm.io/package/@types/node.md) ^7.0.10
- [body-parser](https://npm.io/package/body-parser.md) ^1.17.1
- [json-beautify](https://npm.io/package/json-beautify.md) ^1.0.1
- [@types/express](https://npm.io/package/@types/express.md) ^4.0.35

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.3.4 (latest) — 2017-04-10
- 0.3.3 — 2017-04-09
- 0.3.2 — 2017-04-09
- 0.3.1 — 2017-04-09
- 0.3.0 — 2017-04-09

## README

# mockeroni ![mockeroni](./macaroni.png)

[![Build Status](https://travis-ci.com/BeStateless/mockeroni.svg?token=qQoaFHTTmuBfcpeR6vKX&branch=master)](https://travis-ci.com/BeStateless/mockeroni)
[![Release](https://img.shields.io/badge/release-v0.3.4-blue.svg?style=flat-square)]()

A recipe for easy mocks.

## Installation + Usage

As an npm module:

```npm i -D mockeroni```

As a CLI util

```npm i -g mockeroni```

Mockeroni can also be accessed from this heroku link: https://mockeroni.herokuapp.com/

## API and Routes

By default, mockeroni will open up a WebSocket at port 8080 (i.e. ws://mockeroni.herokuapp.com:8080), and return the following shape:

```typescript
{  
  rates: Array<{ id: string, time: number, rate: number }>,  
  graph: {    
    nodes: Array<{ id: number, label: string, species: 'sink' | 'source' | 'firewall'}>    
    edges: Array<{ to: number, from: number }>  
  }
}
```

in json format. The size of each array can vary. It returns this data at a default of 1 second intervals.

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