@daysnap/utils
Version:
64 lines (51 loc) • 1.15 kB
Markdown
<p align="center">
<img alt="logo" src="https://avatars.githubusercontent.com/u/96568061?s=200&v=4" width="120" height="120" style="margin-bottom: 10px;">
</p>
<h1 align="center">@daysnap/utils</h1>
<p align="center">日常工作中常用的工具函数</p>
<p align="center">
<a href="https://www.npmjs.org/package/@daysnap/utils">
<img src="https://img.shields.io/npm/v/@daysnap/utils.svg" alt="npm version" />
</a>
<a href="https://npmcharts.com/compare/@daysnap/utils">
<img src="https://img.shields.io/npm/dm/@daysnap/utils.svg">
</a>
</p>
## 持续更新中
## 使用
- 安装
```shell
npm install @daysnap/utils
# or
yarn add @daysnap/utils
```
- 引入
```js
import { debounce } from '@daysnap/utils'
```
## 详情 API 文档
[点我查看](./docs/modules.md)
## 注意事项
```json
{
"exports": {
".": {
"import": "./es/index.js",
"require": "./lib/index.cjs"
},
"./*": "./*"
},
"main": "lib/index.cjs",
"module": "es/index.js",
"types": "es/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./lib/*",
"./es/*",
"./*"
]
}
},
}
```