Skip to content

Commit

Permalink
docs: utils updated
Browse files Browse the repository at this point in the history
  • Loading branch information
deot committed Jun 29, 2024
1 parent d35101e commit 69c43ad
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions packages/utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ import { Utils } from '@deot/helper';

| 方法 | 说明 |
| ------------------------------------------------------------------ | ------------------------------ |
| [asterisk][./src/asterisk.ts] | 文字加`*` |
| [autoCatch][./src/auto-catch.ts] | 捕获异常 |
| [canvasToImage][./src/canvas-to-image.ts] | 转图片信息 |
| [cloneDeepEasier][./src/clone-deep-easier.ts] | 深拷贝 |
| [compressImage][./src/compress-image.ts] | 压缩图片 |
| [dataURLToFile][./src/dataURL-to-file.ts] | base64转文件 |
| [debounce][./src/debounce.ts] | 防抖 |
| [def][./src/def.ts] | 定义 |
| [flattenDecodeURIComponent][./src/flatten-decode-uri-component.ts] | 深度解码 |
| [flattenJSONParse][./src/flatten-json-parse.ts] | 深度反序列化 |
| [getPropByPath][./src/get-prop-by-path.ts] | 根据路径找值 |
| [getUid][./src/get-uid.ts] | 生成唯一id |
| [hasOwn][./src/has-own.ts] | 是否在原型上 |
| [numberToUnit][./src/number-to-unit.ts] | 大数据转成中文单位 |
| [preZero][./src/pre-zero.ts] | 加零 |
| [raf][./src/raf.ts] | raf |
| [random][./src/random.ts] | `range``probs` |
| [sleep][./src/sleep.ts] | 等待 |
| [throttle][./src/throttle.ts] | 节流 |
| [genterateString][./src/genterate-string.ts] | 随机生成指定长度的字符串 |
| [toPromise][./src/to-promise.ts] | 让返回对象可操作且能直接使用`await instance` |
| [asterisk](./src/asterisk.ts) | 文字加`*` |
| [autoCatch](./src/auto-catch.ts) | 捕获异常 |
| [canvasToImage](./src/canvas-to-image.ts) | 转图片信息 |
| [cloneDeepEasier](./src/clone-deep-easier.ts) | 深拷贝 |
| [compressImage](./src/compress-image.ts) | 压缩图片 |
| [dataURLToFile](./src/dataURL-to-file.ts) | base64转文件 |
| [debounce](./src/debounce.ts) | 防抖 |
| [def](./src/def.ts) | 定义 |
| [flattenDecodeURIComponent](./src/flatten-decode-uri-component.ts) | 深度解码 |
| [flattenJSONParse](./src/flatten-json-parse.ts) | 深度反序列化 |
| [getPropByPath](./src/get-prop-by-path.ts) | 根据路径找值 |
| [getUid](./src/get-uid.ts) | 生成唯一id |
| [hasOwn](./src/has-own.ts) | 是否在原型上 |
| [numberToUnit](./src/number-to-unit.ts) | 大数据转成中文单位 |
| [preZero](./src/pre-zero.ts) | 加零 |
| [raf](./src/raf.ts) | raf |
| [random](./src/random.ts) | `range``probs` |
| [sleep](./src/sleep.ts) | 等待 |
| [throttle](./src/throttle.ts) | 节流 |
| [genterateString](./src/genterate-string.ts) | 随机生成指定长度的字符串 |
| [toPromise](./src/to-promise.ts) | 让返回对象可操作且能直接使用`await instance` |

0 comments on commit 69c43ad

Please sign in to comment.