# apim-mock

> The mock utilities for apim

Latest version **0.1.13** (published 2018-03-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install apim-mock
pnpm add apim-mock
yarn add apim-mock
bun add apim-mock
```

## 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.1.13 |
| Published | 2018-03-05 |
| First published | 2017-06-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 51.3 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | wuhy |
| Maintainers | wuhuiyao |
| Keywords | apim, mock |

## Links

- npm: https://www.npmjs.com/package/apim-mock
- npm.io page: https://npm.io/package/apim-mock

## Dependencies (4)

- [json5](https://npm.io/package/json5.md) ^0.5.1
- [mockjs](https://npm.io/package/mockjs.md) ^1.0.1-beta3
- [lodash.random](https://npm.io/package/lodash.random.md) ^3.2.0
- [lodash.isplainobject](https://npm.io/package/lodash.isplainobject.md) ^4.0.6

## Alternatives

- [pagerjs](https://npm.io/package/pagerjs.md) — 60 weekly downloads
- [whistle.savefor-mock](https://npm.io/package/whistle.savefor-mock.md) — 4 weekly downloads
- [@logomarks/lookbook](https://npm.io/package/@logomarks/lookbook.md) — 0 weekly downloads
- [@crvouga/mockingbird-service-open-wearables](https://npm.io/package/@crvouga/mockingbird-service-open-wearables.md) — 0 weekly downloads
- [@crvouga/mockingbird-runtime](https://npm.io/package/@crvouga/mockingbird-runtime.md) — 0 weekly downloads

## Recent versions

- 0.1.13 (latest) — 2018-03-05
- 0.1.12 — 2017-10-31
- 0.1.11 — 2017-10-18
- 0.1.10 — 2017-10-11
- 0.1.9 — 2017-09-21
- 0.1.8 — 2017-09-20
- 0.1.7 — 2017-08-02
- 0.1.6 — 2017-07-05
- 0.1.5 — 2017-06-29
- 0.1.4 — 2017-06-21
- 0.1.3 — 2017-06-21
- 0.1.2 — 2017-06-21
- 0.1.1 — 2017-06-05
- 0.1.0 — 2017-06-02

## README

apim-mock
======
> The mock utilities for APIM

## Install

```
npm install apim-mock
```

## Usage

```
var mock = require('apim-mock');
var result = mock.fakeBodyBySchema(schema);
```

## API

* fakeJSONP(data, callback) 

* fakeBodyByType(type, content) 

* fakeBodyBySchema(schema, mockUserCases, options)
 
* fakeResponse(schema, mockUserCases, options)

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