web-utils
介绍
前端开发易用的函数工具库。
软件架构
基于第三方工具库扩展 web
端常用函数,使用 tsc
构建产物。
安装教程
# npm
npm i lodash-es @lei-xx/web-utils
# yarn | pnpm
pnpm add lodash-es @lei-xx/web-utils
使用说明
import { camelCase } from 'lodash-es'
import { bigCamelCase } from '@lei-xx/web-utils'
const str = 'plain-text'
console.log(camelCase(str)) // plainText
console.log(bigCamelCase(str)) // PlainText
参与贡献
- Fork 本仓库
- 新建 feat_xxx 分支
- 提交代码
- 新建 Pull Request