# mock-server-lo

> 1、config.default.js中 record设置为true，即代表不使用mock中的数据，仅仅转发请求并记录下来。 2、后缀不匹配的接口，仅仅做转发，不做任何记录。

Latest version **1.1.1** (published 2022-07-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install mock-server-lo
pnpm add mock-server-lo
yarn add mock-server-lo
bun add mock-server-lo
```

## 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.1.1 |
| Published | 2022-07-09 |
| First published | 2022-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.0.0 |
| Dependencies | 3 |
| Unpacked size | 10.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | lo |
| Maintainers | lo_20211014 |

## Links

- npm: https://www.npmjs.com/package/mock-server-lo
- Repository: https://github.com/llh1187/mock-server-lo
- Homepage: https://github.com/llh1187/mock-server-lo#readme
- Issues: https://github.com/llh1187/mock-server-lo/issues
- npm.io page: https://npm.io/package/mock-server-lo

## Dependencies (3)

- [egg](https://npm.io/package/egg.md) ^2.15.1
- [egg-scripts](https://npm.io/package/egg-scripts.md) ^2.11.0
- [http-proxy-lo](https://npm.io/package/http-proxy-lo.md) ^1.0.0

## Recent versions

- 1.1.1 (latest) — 2022-07-09
- 1.1.0 — 2022-07-04
- 1.0.0 — 2022-05-15

## README

# mock-server
## 配置
1、config.default.js中 record设置为true，即代表不使用mock中的数据，仅仅转发请求并记录下来。
2、后缀不匹配的接口，仅仅做转发，不做任何记录。


## QuickStart

<!-- add docs here for user -->

see [egg docs][egg] for more detail.

### Development

```bash
$ npm i
$ npm run dev
$ open http://localhost:7001/
```

### Deploy

```bash
$ npm start
$ npm stop
```

### npm scripts

- Use `npm run lint` to check code style.
- Use `npm test` to run unit test.
- Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.


[egg]: https://eggjs.org

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