@rhao/lodash-x
废弃声明:该包已被废弃,推荐使用
nice-fns
,拥有完整的单测和文档,并实现和优化了该包所有功能!
迁移至指南
安装 nice-fns
# npm
npm i nice-fns
# yarn or pnpm
pnpm add nice-fns
函数迁移指南:
-
assignOwnKeys
=>assignOwn
-
bigCamelCase
=>pascalCase
-
combineURLs
支持多relativeURL
-
controllablePromise
=>promiseWithControl
-
createSwitch
调用方式更改 -
pauseableTimer
=>timerWithControl
-
safeJSONParse
=>parseJSON
-
setupDefaults
被移除 -
setupDefaults.treeOptions
=>treeDefaults