# data-mock-util

> This util provide basic functionality to mock basic entity

Latest version **1.0.0** (published 2017-12-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install data-mock-util
pnpm add data-mock-util
yarn add data-mock-util
bun add data-mock-util
```

## 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.0.0 |
| Published | 2017-12-03 |
| First published | 2017-12-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sy Le |
| Maintainers | synle |

## Links

- npm: https://www.npmjs.com/package/data-mock-util
- Repository: https://github.com/synle/data-mock-util
- Homepage: https://github.com/synle/data-mock-util#readme
- Issues: https://github.com/synle/data-mock-util/issues
- npm.io page: https://npm.io/package/data-mock-util

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) ^2.19.3

## Recent versions

- 1.0.0 (latest) — 2017-12-03

## README

# data-mock-util
This util provide basic functionality to mock basic entity


## Install
```
  npm install --save git+https://github.com/synle/data-mock-util.git
```

## Use
```
  // include
  const dataMockUtil = require('data-mock-util');
  
  
  // to use
  mockDataUtil.getItem(list)
  mockDataUtil.getPositiveInteger(max)
  mockDataUtil.getInteger(min, max)
  mockDataUtil.getPhoneNumber()
  mockDataUtil.getZipCode()
  mockDataUtil.getDateObject(dayDelta, hourDelta)
  mockDataUtil.getNameWord()
  mockDataUtil.getPersonFullName()
  mockDataUtil.getCity()
  mockDataUtil.getEmail()
```

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