Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (locore) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
locore
安装
npm install --save locore使用
import {
sort,
max,
min,
unique,
debounce,
throttle,
deepClone,
extend,
delString,
insertString,
type,
isPrimitive,
} from 'locore';目录
类型
- type 获取类型
- isPrimitive 判断是否为基本类型
数组
- sort 数组排序
- max 数组最大元素
- min 数组最小元素
- unique 数组去重
字符串
- delString 删除指定长度的字符串
- insertString 插入字符串
函数
- debounce 防抖
- throttle 节流
对象
- deepClone 深拷贝
- extend 扩展
微信号
联系作者:qianduanka
网站
前端咖公众号

前端咖小程序

关键词
locore、lodash、typescripts、qianduanka、sort、max、min、unique、debounce、throttle、deepClone、extend、delString、insertString、type、isPrimitive