qiao-string
v5.0.0
Published
nodejs string tool
Downloads
34
Readme
qiao-string
nodejs 下qiao-z中的 string 相关工具类
install
安装
npm i qiao-string
use
使用
// cjs
const { firstLetterUpper } = require('qiao-string');
// mjs
import { firstLetterUpper } from 'qiao-string';
api
// upper first letter
firstLetterUpper(str);
// lower first letter
firstLetterLower(str);
// under score case 2 camel case
underScoreCaseToCamelCase(str);