1.2.1 • Published 3 years ago
utils-7 v1.2.1
utils-7
some javascript function.
Attention: utils-7
uses ES6
syntax, you need to polyfill
it yourself if you use it in the project.
Installation
Using npm:
npm i utils-7 -D
Usage
// import all
import * as u7 from 'utils-7';
// import you need
import {
getQueryByKey,
obj2Query,
deepCopy,
copyByKey,
getSS,
setSS,
removeSS,
getLS,
setLS,
removeLS,
mobileFormat,
fileSizeFormat,
currencyFormat,
date2Timestamp,
timestampFormat,
getWeeks,
download,
downloadBlob,
snakecase,
camelcase,
kebabcase,
} from 'utils-7';
Doc
see folder doc.