# mfan-utils

> js tool library

Latest version **0.0.5** (published 2021-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install mfan-utils
pnpm add mfan-utils
yarn add mfan-utils
bun add mfan-utils
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2021-02-26 |
| First published | 2021-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 86.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | afei |
| Maintainers | w530385371 |
| Keywords | call, apply, bind, unique, flatten, debounce, throttle, eventBus, deepClone |

## Links

- npm: https://www.npmjs.com/package/mfan-utils
- Repository: https://gitee.com/mf/dd-utils
- Homepage: https://gitee.com/mf/dd-utils#readme
- npm.io page: https://npm.io/package/mfan-utils

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 0.0.5 (latest) — 2021-02-26

## README

# @dd/utils

#### 介绍
js工具函数库

自定义实现包括函数相关、数组相关、对象相关，字符串相关的工具函数, 类似流行的工具函数库lodash；

手写DOM事件监听、ajax请求、事件总线、消息订阅-发布、Promise；

#### 安装教程

~~~ js
npm install @dd/utils -S
~~~


#### 使用说明

网页中使用

~~~ html
<script src="../dist/ddutils.min.js"></script>
<script>
    DD.map([1,2,3],function(item){return item*10})  // => [10, 20, 30]
    DD.version // =>0.0.1
  </script>
~~~

es6 模块中使用
~~~ js
import { map } from '@dd/utils';

console.log(map([1,2,3],(item)=>item*10)) // => [10,20,30]
~~~

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