bingmaxx / utils-7

some javascript function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

some javascript function

License:MIT License


Languages

Language:JavaScript 97.9%Language:Shell 2.1%