Skip to content

bingmaxx/utils-7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,
  getWeeks,
  download,
  downloadBlob,
  snakecase,
  camelcase,
  kebabcase,
} from 'utils-7';

ChangeLog

see here

Doc

see folder doc.