astuteweb-utils
Version:
机敏web开发常用工具函数
29 lines (27 loc) • 1.02 kB
JavaScript
// 对象相关
export { shallowClone } from "./object/index.js"
export { deepClone } from "./object/index.js"
export { isObject } from "./object/index.js"
export { isPlainObject } from "./object/index.js"
export { parseArgs } from "./object/index.js"
export { hasOwn } from "./object/index.js"
export { merge } from "./object/index.js"
// 数组相关
export { unique } from "./array/index.js"
export { isArray } from "./array/index.js"
export { arrayFrom } from "./array/index.js"
export { includes } from "./array/index.js"
// 函数
export { debounce } from "./function/index.js"
export { throttle } from "./function/index.js"
export { warn } from "./function/index.js"
export { err } from "./function/index.js"
export { isFunction } from "./function/index.js"
// 布尔
export { isBoolean } from "./boolean/index.js"
// null
export { isNull } from "./null/index.js"
// 字符串
export { isString } from "./string/index.js"
// xss攻击
export { escapeParams } from "./xss/index.js"