1.9.0 • Published 2 years ago

mzm-sdk v1.9.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

前端工具库

api分类

  • color.ts 判断是否是十六进制颜色值
  • tools.ts 删除对象中值为: null, undefined, NaN, ''的属性

本地开发

yarn dev

测试

yarn test

打包

yarn build

发布

yarn publish

使用 安装

yarn add mzm-sdk

引入

import {deleteEmpty,isColor} from 'mzm-sdk'

let obj = {
        a: undefined,
        b: 1,
        c: null,
        d: "",
        e: NaN,
      };
console.log(Tools.deleteEmpty(obj));//{b:1}
1.9.0

2 years ago

1.8.3

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.3

2 years ago

1.5.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago