@lei-xx/web-utils
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

参与贡献

  1. Fork 本仓库
  2. 新建 feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

Package Sidebar

Install

npm i @lei-xx/web-utils

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

33.4 kB

Total Files

64

Last publish

Collaborators

  • lei-hh