utils

📦 一个工具函数集合

起步 →

实用

getType / isDiff / debounce / throttle... 涵盖了常用的工具函数。

起步

安装

npm install @zouxin/utils -S

使用

全量引入:

import utils from '@zouxin/utils'

utils.getType(1) // number

按需引入:

import { getType } from '@zouxin/utils'

getType(1) // number