commonjs-tools

2.8.0 • Public • Published

commonjs-tools

Some utils functions for server / front side

  1. common:

    • chunk
    • copy
    • debounce
    • random
    • concatWithReverse
    • arrayToObject
    • flatten
    • sample
    • shuffle
    • range
    • loadCollection
    • loadData
    • search
  2. front:

    1. header:
      • get
      • fromHeader
      • toHeader
  3. server: 3. header: * headerForClient * toHeader * fromHeader * headerTokenApp * headerToken * headerEmail * headerAgent * cors * simpleCors 3. request: * getApi * get * sendWithCORS * redirectTo * getFrom * jsonFrom * htmlFrom * requestBase64 3. utils * pagify * uniqIds * uniqOBjects
    * collection

Usage

npm install --save-dev commonjs-tools

Readme

Keywords

Package Sidebar

Install

npm i commonjs-tools

Weekly Downloads

1

Version

2.8.0

License

MIT

Unpacked Size

17.4 kB

Total Files

12

Last publish

Collaborators

  • vitamin-lab