README
Quick to use
- Clone
# 克隆项目(vast-utils)
git clone https://github.com/yayxs/vast-utils
- Use in Pro
yarn add vast-utils
// 导入
import { xxx } from 'vast-utils'
- test
yarn test // use jest
Constants
- isHttpsMailtoTel ⇒
Boolean
是否是 http/https/mailto/tel 开头
- isStart ⇒
Boolean
是否是 '12:34' 格式
- isGuoNeiCall ⇒
Boolean
是否是 国内电话
Boolean
isHttpsMailtoTel ⇒ 是否是 http/https/mailto/tel 开头
Kind: global constant
Type | Description |
---|---|
String |
path 地址 |
Boolean
isStart ⇒ 是否是 '12:34' 格式
Kind: global constant
Type | Description |
---|---|
String |
str |
Boolean
isGuoNeiCall ⇒ 是否是 国内电话
Kind: global constant
Type | Description |
---|---|
String |
电话号码 0370-3731666 或者 021-87888822 |
Git 提交规范
feat
增加新功能fix
修复问题/BUGstyle
代码风格相关无影响运行结果的perf
优化/性能提升refactor
重构revert
撤销修改test
测试相关docs
文档/注释chore
依赖更新/脚手架配置修改等workflow
工作流改进ci
持续集成types
类型定义文件更改wip
开发中