@xhh-cli-dev/utils
v0.4.0
Published
> TODO: description
Downloads
1
Readme
@xhh-cli-dev/utils
xhh-cli-dev 开发通用工具类
Usage
const {
checkCommand,
isObject,
spinnerStart,
sleep,
doSpinner } = require('@xhh-cli-dev/utils');
// 检验执行命令是否在白名单中
checkCommand('npm')
// 判断变量是否是对象
isObject({}) // true