1.0.0 • Published 4 years ago

@luchao/base-uitls v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

@luchao/utils

js常用的基础函数

安装

npm install @luchao/utils --save

示例

import { 
    download, 
    deleteNullValue,
 } from '@luchao/utils';
// 下载
download('https://xxxx/xxxxx.exe');

const obj = deleteNullValue({
    a: 1,
    b: '',
    c: null,
    d: undefined,
});
console.log(obj); // {a: 1}