# eazyutils

> some simple tool utils

Latest version **1.0.1** (published 2022-01-10) · ISC license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2022-01-10 |
| First published | 2019-11-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | maic |
| Maintainers | maicfir |

## Links

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

## Recent versions

- 1.0.1 (latest) — 2022-01-10
- 1.0.0 — 2019-11-29

## README

#### utils
> 一些常用工具的集合

### url2Params
格式化获取url参数

### storage
设置缓存
```bash
npm i eazyutils
```
```javascript
const eazyutils = require('eazyutils');
// 设置缓存
eazyutils.storage('userInfo', {name: 'Maic',age: 18});

// 获取缓存
eazyutils.storage('userInfo');
```
### fillterConfigArr 过滤数组中存在的数据
```javascript
const eazyutils = require('eazyutils');
eazyutils.fillterConfigArr([{a: '1'}, {b: '2'}], {a: '1'})
```
### upDateDateRem rem方案适配
```javascript
const eazyutils = require('eazyutils');
// eazyutils.upDateScreen(); // pc端1080尺寸适配
eazyutils.upDateDateRem();
```
### 千分位匹配
```javascript
const eazyutils = require('eazyutils');
eazyutils.regMoney(200300); // 匹配千分位
```
### 过滤对象 filterObj
```javascript
const eazyutils = require('eazyutils');
eazyutils.filterObj(['a', 'b'], [{a: '1',b: '2',c: '3'}]);
```
### 函数节流debounce
```javascript
const eazyutils = require('eazyutils');
eazyutils.debounce(() => {}, 800)
```
### 防抖
```javascript
const eazyutils = require('eazyutils');
eazyutils.throttle(()=> {}, 1000)
```

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