open-index/open-npm huggingface dataset:
npm package: @jswork/next-apply-fetch-middleware
Description: Fetch meet middlewares.
Author: afei
Latest version: 1.0.10

# next-apply-fetch-middleware
> Fetch meet middlewares.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-apply-fetch-middleware
```

## usage
```js
import '@jswork/next-apply-fetch-middleware';

const midJson = function (inFetch) {
  return function (url, options) {
    return inFetch(url, options).then(res => res.json());
  }
};

const midTimeout = function (inFetch) {
  return function (url, inOptions) {
    const controller = new AbortController();
    const options = Object.assign({ signal: controller.signal, timeout: 3 * 1000 }, inOptions);
    const timer = setTimeout(() => {
      controller.abort();
    }, options.timeout);

    return new Promise((resolve, reject) => {
      inFetch(url, options).then(res => {
        clearTimeout(timer);
        resolve(res);
      }).catch(err => {
        reject(err);
      });
    });
  }
};


const betterFetch = nx.applyFetchMiddleware([
  midJson,
  midTimeout
])(window.fetch);


// 1. return json
// 2. has timeout
betterFetch('https://api.github.com/users/afeiship', { timeout: 3 * 1000 }).then(res => {
  console.log(res);
});
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-apply-fetch-middleware/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-apply-fetch-middleware
[version-url]: https://npmjs.org/package/@jswork/next-apply-fetch-middleware

[license-image]: https://img.shields.io/npm/l/@jswork/next-apply-fetch-middleware
[license-url]: https://github.com/afeiship/next-apply-fetch-middleware/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-apply-fetch-middleware
[size-url]: https://github.com/afeiship/next-apply-fetch-middleware/blob/master/dist/next-apply-fetch-middleware.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-apply-fetch-middleware
[download-url]: https://www.npmjs.com/package/@jswork/next-apply-fetch-middleware
npm package: @jswork/next-array-replace
Description: Multiple replace for array.
Author: afei
Latest version: 1.0.0

# next-array-replace
> Multiple replace for array.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-array-replace
```

## usage
```js
import '@feizheng/next-array-replace';

const arr= [
  [/a/g,'A'],
  ['hello','world']
];
const str = 'aaa-bbb-1234 hello Fei!';
const res = nx.arrayReplace( str, arr);

// AAA-bbb-1234 world Fei!
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-array-replace/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-array-replace
[version-url]: https://npmjs.org/package/@jswork/next-array-replace

[license-image]: https://img.shields.io/npm/l/@jswork/next-array-replace
[license-url]: https://github.com/afeiship/next-array-replace/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-array-replace
[size-url]: https://github.com/afeiship/next-array-replace/blob/master/dist/next-array-replace.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-array-replace
[download-url]: https://www.npmjs.com/package/@jswork/next-array-replace
npm package: @jswork/next-array-trim
Description: Trim array like string.trim for next.
Author: afei
Latest version: 1.0.4

# next-array-trim
> Trim array like string.trim for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-array-trim
```

## usage
```js
import '@jswork/next-array-trim';

const arr = [undefined, undefined, undefined, 'a', 'b', 'c', undefined];
nx.arrayTrim(arr, undefined);    // ['a','b','c']
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-array-trim/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-array-trim
[version-url]: https://npmjs.org/package/@jswork/next-array-trim

[license-image]: https://img.shields.io/npm/l/@jswork/next-array-trim
[license-url]: https://github.com/afeiship/next-array-trim/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-array-trim
[size-url]: https://github.com/afeiship/next-array-trim/blob/master/dist/next-array-trim.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-array-trim
[download-url]: https://www.npmjs.com/package/@jswork/next-array-trim
npm package: @jswork/next-arraybuffer2blob
Description: Arraybuffer to blob.
Author: afei
Latest version: 1.0.0

# next-arraybuffer2blob
> Arraybuffer to blob.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-arraybuffer2blob
```

## usage
```js
import '@jswork/next-arraybuffer2blob';

socket.onmessage = function(msg) {
  var arrayBuffer = msg.data;
  var blob = nx.arraybuffer2blob(arrayBuffer);
  var image = document.getElementById('image');
  var reader = new FileReader();
  reader.onload = function(e) {
    // base64
    image.src = e.target.result;
  };
  reader.readAsDataURL(blob);
};
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-arraybuffer2blob/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-arraybuffer2blob
[version-url]: https://npmjs.org/package/@jswork/next-arraybuffer2blob

[license-image]: https://img.shields.io/npm/l/@jswork/next-arraybuffer2blob
[license-url]: https://github.com/afeiship/next-arraybuffer2blob/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-arraybuffer2blob
[size-url]: https://github.com/afeiship/next-arraybuffer2blob/blob/master/dist/next-arraybuffer2blob.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-arraybuffer2blob
[download-url]: https://www.npmjs.com/package/@jswork/next-arraybuffer2blob
npm package: @jswork/next-arraybuffer2url
Description: Array buffer to blob url.
Author: afei
Latest version: 1.0.0

# next-arraybuffer2url
> Array buffer to blob url.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-arraybuffer2url
```

## usage
```js
import '@jswork/next-arraybuffer2url';

const xhrOverride = new XMLHttpRequest();
xhrOverride.responseType = 'arraybuffer';
$.ajax({
  url: '/url/of/your/binary/data',
  method: 'GET',
  xhr: function() {
      return xhrOverride;
  }
}).then(function (responseData) {
  const url = nx.arraybuffer2url(responseData);

  // <img src={url} />
});
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-arraybuffer2url/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-arraybuffer2url
[version-url]: https://npmjs.org/package/@jswork/next-arraybuffer2url

[license-image]: https://img.shields.io/npm/l/@jswork/next-arraybuffer2url
[license-url]: https://github.com/afeiship/next-arraybuffer2url/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-arraybuffer2url
[size-url]: https://github.com/afeiship/next-arraybuffer2url/blob/master/dist/next-arraybuffer2url.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-arraybuffer2url
[download-url]: https://www.npmjs.com/package/@jswork/next-arraybuffer2url
npm package: @jswork/next-arrayify
Description: Simpliy to array.
Author: afei
Latest version: 1.0.0

# next-arrayify
> Simpliy to array.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-arrayify
```

## usage
```js
import '@jswork/next-arrayify';

nx.arrayify(null);      //[]
nx.arrayify(undefined); //[]
nx.arrayify([1,2,3])    //[1,2,3]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-arrayify/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-arrayify
[version-url]: https://npmjs.org/package/@jswork/next-arrayify

[license-image]: https://img.shields.io/npm/l/@jswork/next-arrayify
[license-url]: https://github.com/afeiship/next-arrayify/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-arrayify
[size-url]: https://github.com/afeiship/next-arrayify/blob/master/dist/next-arrayify.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-arrayify
[download-url]: https://www.npmjs.com/package/@jswork/next-arrayify
npm package: @jswork/next-async-queue
Description: Async queue for next.
Author: afei
Latest version: 1.0.0

# next-async-queue
> Async queue for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-async-queue
```

## apis
| api    | params    | description                           |
| ------ | --------- | ------------------------------------- |
| run    | items     | Run a list of async functions         |
| repeat | fn, count | Get a repeat functions                |
| wrap   | [fn,fn]   | Wrap an list of functions to runnable |

## status
| status | name | code | description                   |
| ------ | ---- | ---- | ----------------------------- |
| LOAD   | load | 1    | Status when task is running   |
| DONE   | done | 0    | Status when all task has done |

## usage
```js
import NxAsyncQueue from '@jswork/next-async-queue';

var fn1 = function(next){
  setTimeout(function(){
    console.log(123,'1s');
    next({ result: 1});
  },1000);
};

var fn2 = function(next){
  setTimeout(function(){
    console.log(456,'2s');
    next({ result: 2});
  },1000);
};

var fn3 = function(next){
  setTimeout(function(){
    console.log(789,'3s');
    next({ result: 3});
  },1000);
};

NxAsyncQueue.run(fn1, fn2, fn3).then((res) => {
  console.log(res);
});

// results:
// 123 1s
// 456 2s
// 789 3s
// [ { result: 1 }, { result: 2 }, { result: 3 } ]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-async-queue/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-async-queue
[version-url]: https://npmjs.org/package/@jswork/next-async-queue

[license-image]: https://img.shields.io/npm/l/@jswork/next-async-queue
[license-url]: https://github.com/afeiship/next-async-queue/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-async-queue
[size-url]: https://github.com/afeiship/next-async-queue/blob/master/dist/next-async-queue.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-async-queue
[download-url]: https://www.npmjs.com/package/@jswork/next-async-queue
npm package: @jswork/next-audio-manager
Description: Audio manager.
Author: afei
Latest version: 1.0.0

# next-audio-manager
> Audio manager.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-audio-manager
```

## apis
| api      | params | description                   |
| -------- | ------ | ----------------------------- |
| create   | -      | Create one/multiple instance. |
| method   | -      | Call context method.          |
| property | -      | Call context property.        |

## usage
```js
import NxAudioManager from '@jswork/next-audio-manager';

// ======= multiple =======
NxAudioManager.create([
  { key: 'k1', src: 'https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_700KB.mp3' },
  { key: 'k2', src: 'https://kolber.github.io/audiojs/demos/mp3/juicy.mp3' }
]);

// stop all audios:
NxAudioManager.method('play');



// ======= single =======
const audio = NxAudioManager.create({ 
  standalone: true,
  src: 'https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_700KB.mp3' 
});

audio.method('play');
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-audio-manager/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-audio-manager
[version-url]: https://npmjs.org/package/@jswork/next-audio-manager

[license-image]: https://img.shields.io/npm/l/@jswork/next-audio-manager
[license-url]: https://github.com/afeiship/next-audio-manager/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-audio-manager
[size-url]: https://github.com/afeiship/next-audio-manager/blob/master/dist/next-audio-manager.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-audio-manager
[download-url]: https://www.npmjs.com/package/@jswork/next-audio-manager
npm package: @jswork/next-baidu-fanyi
Description: Baidu fangyi api wrapper.
Author: afei
Latest version: 1.1.3

# next-baidu-fanyi
> Baidu fangyi api wrapper.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-baidu-fanyi
```

## apis
| api       | params | description     |
| --------- | ------ | --------------- |
| translate | -      | Get translation |


## options
| name   | default | description         |
| ------ | ------- | ------------------- |
| delay  | 1000    | Call fn duration.   |
| from   | zh      | from which language |
| to     | en      | to which language   |
| appid  | -       | -                   |
| secret | -       | -                   |
| q      | -       | keywords            |

## usage
```js
import NxBaiduFanyi from '@jswork/next-baidu-fanyi';

// code goes here:
NxBaiduFanyi.translate({ q: '苹果', from:'zh', to:'en' }).then((res) => {
  /*
  // res:
  {
    from: 'zh',
    to: 'en',
    trans_result: [{ src: '苹果', dst: 'Apple' }]
  }
  */
});
```

## resources
- https://api.fanyi.baidu.com/doc/21

## license
Code released under [the MIT license](https://github.com/afeiship/next-baidu-fanyi/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-baidu-fanyi
[version-url]: https://npmjs.org/package/@jswork/next-baidu-fanyi

[license-image]: https://img.shields.io/npm/l/@jswork/next-baidu-fanyi
[license-url]: https://github.com/afeiship/next-baidu-fanyi/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-baidu-fanyi
[size-url]: https://github.com/afeiship/next-baidu-fanyi/blob/master/dist/next-baidu-fanyi.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-baidu-fanyi
[download-url]: https://www.npmjs.com/package/@jswork/next-baidu-fanyi
npm package: @jswork/next-baidu-pan-url-key
Description: Get baidu pan url and key.
Author: afei
Latest version: 1.0.0

# next-baidu-pan-url-key
> Get baidu pan url and key.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-baidu-pan-url-key
```

## usage
```js
import '@jswork/next-baidu-pan-url-key';

var str1 = "链接:https://pan.baidu.com/s/1zNVdo1cpsYYbWM7YTb0EvQ  密码:mdxe";
var str2 = "链接: https://pan.baidu.com/s/1W0VYRMHcHA4IKK2Cd8a2VA 提取码: t2nu";


nx.baiduPanUrlKey(str1);
nx.baiduPanUrlKey(str2;

// results
{ url: 'https://pan.baidu.com/s/1W0VYRMHcHA4IKK2Cd8a2VA', key: 't2nu' }
{ url: 'https://pan.baidu.com/s/1zNVdo1cpsYYbWM7YTb0EvQ', key: 'mdxe' }

```

## license
Code released under [the MIT license](https://github.com/afeiship/next-baidu-pan-url-key/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-baidu-pan-url-key
[version-url]: https://npmjs.org/package/@jswork/next-baidu-pan-url-key

[license-image]: https://img.shields.io/npm/l/@jswork/next-baidu-pan-url-key
[license-url]: https://github.com/afeiship/next-baidu-pan-url-key/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-baidu-pan-url-key
[size-url]: https://github.com/afeiship/next-baidu-pan-url-key/blob/master/dist/next-baidu-pan-url-key.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-baidu-pan-url-key
[download-url]: https://www.npmjs.com/package/@jswork/next-baidu-pan-url-key
npm package: @jswork/next-bind
Description: Bind all for next.
Author: afei
Latest version: 1.0.2

# next-bind
> Bind all for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-bind
```

## usage
```js
import '@jswork/next-bind';

const obj = {
  id: 'bold',
  type: 'plugin',
  events: {
    name: function () {
      return [this.id, this.type].join('-');
    }
  },
  commands: {
    is: function (inMode) {
      return this.id === inMode;
    },
    get: function () {
      return this.type;
    }
  }
};

nx.bind(obj, obj.commands, obj.events);
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-bind/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-bind
[version-url]: https://npmjs.org/package/@jswork/next-bind

[license-image]: https://img.shields.io/npm/l/@jswork/next-bind
[license-url]: https://github.com/afeiship/next-bind/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-bind
[size-url]: https://github.com/afeiship/next-bind/blob/master/dist/next-bind.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-bind
[download-url]: https://www.npmjs.com/package/@jswork/next-bind
npm package: @jswork/next-blob2base64
Description: Blob to base64.
Author: afei
Latest version: 1.0.0

# next-blob2base64
> Blob to base64.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-blob2base64
```

## usage
```js
import '@jswork/next-blob2base64';

//DOCS here!
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-blob2base64/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-blob2base64
[version-url]: https://npmjs.org/package/@jswork/next-blob2base64

[license-image]: https://img.shields.io/npm/l/@jswork/next-blob2base64
[license-url]: https://github.com/afeiship/next-blob2base64/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-blob2base64
[size-url]: https://github.com/afeiship/next-blob2base64/blob/master/dist/next-blob2base64.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-blob2base64
[download-url]: https://www.npmjs.com/package/@jswork/next-blob2base64
npm package: @jswork/next-blob2down
Description: Download from blob.
Author: afei
Latest version: 1.0.1

# next-blob2down
> Download from blob.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-blob2down
```

## usage
```js
import '@jswork/next-blob2down';

// download a png with filename
fetch('https://www.alo7.com/assest/images_cms/logo_title.png')
  .then(r=>r.blob())
  .then(res=>{
    nx.blob2down(res, { filename: 'logo.png' });
  });
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-blob2down/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-blob2down
[version-url]: https://npmjs.org/package/@jswork/next-blob2down

[license-image]: https://img.shields.io/npm/l/@jswork/next-blob2down
[license-url]: https://github.com/afeiship/next-blob2down/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-blob2down
[size-url]: https://github.com/afeiship/next-blob2down/blob/master/dist/next-blob2down.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-blob2down
[download-url]: https://www.npmjs.com/package/@jswork/next-blob2down
npm package: @jswork/next-blob2file
Description: Blob to file for next.
Author: afei
Latest version: 1.0.0

# next-blob2file
> Blob to file for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-blob2file
```

## usage
```js
import '@jswork/next-blob2file';

fetch('https://dth-beta.alo7.com/alo7/ace/dsr_manager/lATPDhJzv_TUh4_OdTixz85UZwQr.amr')
  .then(res=>res.blob())
  .then(res=>{
    const file = nx.blob2file(res, 'lATPDhJzv_TUh4_OdTixz85UZwQr.amr')
    // File {name: "untitled", lastModified: 1618309936979, lastModifiedDate: ...
  });
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-blob2file/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-blob2file
[version-url]: https://npmjs.org/package/@jswork/next-blob2file

[license-image]: https://img.shields.io/npm/l/@jswork/next-blob2file
[license-url]: https://github.com/afeiship/next-blob2file/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-blob2file
[size-url]: https://github.com/afeiship/next-blob2file/blob/master/dist/next-blob2file.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-blob2file
[download-url]: https://www.npmjs.com/package/@jswork/next-blob2file
npm package: @jswork/next-blob2url
Description: Get blob url from blob.
Author: afei
Latest version: 1.0.0

# next-blob2url
> Get blob url from blob.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-blob2url
```

## usage
```js
import '@jswork/next-blob2url';

nx.blob2url(blob);
// http://localhost:5000/500e570a-ad09-4921-a4a3-6c72cc84626e
```

```html
<div class="img-container">
  <img id="img" src="" alt="">
</div>

<script>
  fetch('./ava.jpg').then(res => res.blob()).then(res => {
    const url = nx.blob2url(res);
    document.getElementById('img').src = nx.blob2url(res)
    console.log(res, url);
  })
</script>
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-blob2url/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-blob2url
[version-url]: https://npmjs.org/package/@jswork/next-blob2url

[license-image]: https://img.shields.io/npm/l/@jswork/next-blob2url
[license-url]: https://github.com/afeiship/next-blob2url/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-blob2url
[size-url]: https://github.com/afeiship/next-blob2url/blob/master/dist/next-blob2url.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-blob2url
[download-url]: https://www.npmjs.com/package/@jswork/next-blob2url
npm package: @jswork/next-bubble-sort
Description: Bubble sort for next.
Author: afei
Latest version: 1.0.1

# next-bubble-sort
> Bubble sort for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-bubble-sort
```

## usage
```js
import '@jswork/next-bubble-sort';

nx.bubbleSort([3, 44, 38, 5, 47, 15, 36, 26, 27, 2, 46, 4, 19, 50, 48]);

// [ 2,  3,  4,  5, 15, 19, 26, 27, 36, 38, 44, 46, 47, 48, 50 ]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-bubble-sort/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-bubble-sort
[version-url]: https://npmjs.org/package/@jswork/next-bubble-sort

[license-image]: https://img.shields.io/npm/l/@jswork/next-bubble-sort
[license-url]: https://github.com/afeiship/next-bubble-sort/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-bubble-sort
[size-url]: https://github.com/afeiship/next-bubble-sort/blob/master/dist/next-bubble-sort.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-bubble-sort
[download-url]: https://www.npmjs.com/package/@jswork/next-bubble-sort
npm package: @jswork/next-camelize
Description: CameCase for next.
Author: afei
Latest version: 1.0.3

# next-camelize
> CameCase for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-camelize
```

## usage
```js
import '@jswork/next-camelize';

nx.camelize('font-size');
nx.camelize('font.size');
nx.camelize('font_size');
//fontSize

nx.camelize('abc.fontSize'); 
//abcFontSize
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-camelize/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-camelize
[version-url]: https://npmjs.org/package/@jswork/next-camelize

[license-image]: https://img.shields.io/npm/l/@jswork/next-camelize
[license-url]: https://github.com/afeiship/next-camelize/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-camelize
[size-url]: https://github.com/afeiship/next-camelize/blob/master/dist/next-camelize.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-camelize
[download-url]: https://www.npmjs.com/package/@jswork/next-camelize
npm package: @jswork/next-cancelable-fetch
Description: Cancelable fetch for next.
Author: afei
Latest version: 1.0.0

# next-cancelable-fetch
> Cancelable fetch for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-cancelable-fetch
```

## usage
```js
import '@jswork/next-cancelable-fetch';

const fetchResource = nx
  .cancelableFetch('https://api.github.com/users/afeiship', { cancelable: true })
  .then(res=>res.json())
  .then((res) => {
    console.log('response:', res.body);
  })
  .catch((err) => {
    console.log(err);
  });

// abort
fetchResource.cancel();
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-cancelable-fetch/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-cancelable-fetch
[version-url]: https://npmjs.org/package/@jswork/next-cancelable-fetch

[license-image]: https://img.shields.io/npm/l/@jswork/next-cancelable-fetch
[license-url]: https://github.com/afeiship/next-cancelable-fetch/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-cancelable-fetch
[size-url]: https://github.com/afeiship/next-cancelable-fetch/blob/master/dist/next-cancelable-fetch.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-cancelable-fetch
[download-url]: https://www.npmjs.com/package/@jswork/next-cancelable-fetch
npm package: @jswork/next-capitalize
Description: Capitalize for next.
Author: afei
Latest version: 1.0.2

# next-capitalize
> Capitalize for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-capitalize
```

## usage
```js
import '@jswork/next-capitalize';

nx.capitalize('fontSize')
// FontSize
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-capitalize/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-capitalize
[version-url]: https://npmjs.org/package/@jswork/next-capitalize

[license-image]: https://img.shields.io/npm/l/@jswork/next-capitalize
[license-url]: https://github.com/afeiship/next-capitalize/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-capitalize
[size-url]: https://github.com/afeiship/next-capitalize/blob/master/dist/next-capitalize.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-capitalize
[download-url]: https://www.npmjs.com/package/@jswork/next-capitalize
npm package: @jswork/next-cdb-case
Description: To cdb case(半角).
Author: afei
Latest version: 1.0.0

# next-cdb-case
> To cdb case(半角).

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-cdb-case
```

## usage
```js
import '@jswork/next-cdb-case';

const res = nx.cdbCase('玛鲁ABC亲子乐园 V1.0.0（全能版）L1');
// 玛鲁ABC亲子乐园 V1.0.0(全能版)L1
```

## resources
- https://www.cnblogs.com/moqiutao/p/6869794.html
- https://baike.baidu.com/item/半角

## license
Code released under [the MIT license](https://github.com/afeiship/next-cdb-case/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-cdb-case
[version-url]: https://npmjs.org/package/@jswork/next-cdb-case

[license-image]: https://img.shields.io/npm/l/@jswork/next-cdb-case
[license-url]: https://github.com/afeiship/next-cdb-case/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-cdb-case
[size-url]: https://github.com/afeiship/next-cdb-case/blob/master/dist/next-cdb-case.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-cdb-case
[download-url]: https://www.npmjs.com/package/@jswork/next-cdb-case
npm package: @jswork/next-chunk
Description: Creates an array of elements split into groups the length of size.
Author: afei
Latest version: 1.0.3

# next-chunk
> Creates an array of elements split into groups the length of size.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-chunk
```

## apis
| api      | type              | description         |
| -------- | ----------------- | ------------------- |
| nx.chunk | (inArray,inChunk) | Create split chunks |

## usage
```js
import '@jswork/next-chunk';

// array
const arr = [1,2,3,4,5,6,7,8];
const res = nx.chunk(arr, 3);
// result:
// [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8 ] ]


// buffer/file
const file =new File(["foobar"], "foo.txt", {
  type: "text/plain",
});

// result:
const res = nx.chunk(file, 2);
// [ Blob, Blob, Blob ] 
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-chunk/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-chunk
[version-url]: https://npmjs.org/package/@jswork/next-chunk

[license-image]: https://img.shields.io/npm/l/@jswork/next-chunk
[license-url]: https://github.com/afeiship/next-chunk/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-chunk
[size-url]: https://github.com/afeiship/next-chunk/blob/master/dist/next-chunk.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-chunk
[download-url]: https://www.npmjs.com/package/@jswork/next-chunk
npm package: @jswork/next-classify
Description: Converts string to camelized class name. First letter is always upper case.
Author: afei
Latest version: 1.0.5

# next-classify
> Converts string to camelized class name. First letter is always upper case.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-classify
```

## usage
```js
import '@jswork/next-classify';

nx.classify('font.size.small'); //FontSizeSmall
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-classify/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-classify
[version-url]: https://npmjs.org/package/@jswork/next-classify

[license-image]: https://img.shields.io/npm/l/@jswork/next-classify
[license-url]: https://github.com/afeiship/next-classify/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-classify
[size-url]: https://github.com/afeiship/next-classify/blob/master/dist/next-classify.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-classify
[download-url]: https://www.npmjs.com/package/@jswork/next-classify
npm package: @jswork/next-clock2time
Description: Clock(lrc/srt) to time for next.
Author: afei
Latest version: 1.0.1

# next-clock2time
> Clock(lrc/srt) to time for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-clock2time
```

## usage
```js
import '@jswork/next-clock2time';

// srt clock:
nx.clock2time('00:00:03,776')   //3776

// lrc clock:
nx.clock2time('00:12.120')      //12120
```

## resources
- https://en.wikipedia.org/wiki/LRC_(file_format)

## license
Code released under [the MIT license](https://github.com/afeiship/next-clock2time/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-clock2time
[version-url]: https://npmjs.org/package/@jswork/next-clock2time

[license-image]: https://img.shields.io/npm/l/@jswork/next-clock2time
[license-url]: https://github.com/afeiship/next-clock2time/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-clock2time
[size-url]: https://github.com/afeiship/next-clock2time/blob/master/dist/next-clock2time.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-clock2time
[download-url]: https://www.npmjs.com/package/@jswork/next-clock2time
npm package: @jswork/next-collection
Description: Collection for next.
Author: afei
Latest version: 1.0.1

# next-collection
> Collection for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-collection
```

## apis
| api | params | description   |
|-----|--------|---------------|
| union | -      | Union collection. |
| intersect | -      | Collection intersection. |
| diff | -      | Collection difference. |
| minus | -      | Collection except other(minus). |

## usage
```js
import NxCollection from '@jswork/next-collection';

const arr1 = [1, 2, 3]
const arr2 = [1, 5, 2, 6]

const col1 = nx.Collection.minus(arr1, arr2);
const col2 = nx.Collection.minus(arr2, arr1);

// result:
// [3]
// [5, 6]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-collection/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-collection
[version-url]: https://npmjs.org/package/@jswork/next-collection

[license-image]: https://img.shields.io/npm/l/@jswork/next-collection
[license-url]: https://github.com/afeiship/next-collection/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-collection
[size-url]: https://github.com/afeiship/next-collection/blob/master/dist/next-collection.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-collection
[download-url]: https://www.npmjs.com/package/@jswork/next-collection
npm package: @jswork/next-commits-parser
Description: Git commits parser.
Author: afei
Latest version: 1.0.0

# next-commits-parser
> Git commits parser.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-commits-parser
```

## usage
```js
import '@feizheng/next-commits-parser';

nx.commitsParser(
  fs.readFileSync('__tests__/logger.txt')
);

/*
{
  feat: [
    {
      action: 'feat',
      message: '    eee44e75 - feat: 习题类模板配置默认增加“解析”模块 (REDMINE-111120)'
    }
  ],
  fix: [
    {
      action: 'fix',
      message: '    3b643a37 - fix(content): 修复 简单富文本无法保存/分词带代码等问题(REDMINE-110775)'
    },
    {
      action: 'fix',
      message: '    70454050 - fix(content): 知识点标签在任何状态下都可以打，不依赖应用内容的状态 (REDMINE-110620)'
    },
    {
      action: 'fix',
      message: '    71a6e390 - fix(content): 独立应用内容列表图片显示根据上传的图片等比缩放'
    },
    {
      action: 'fix',
      message: '    4bc79004 - fix(content): 选择题：选项内容不可以为空 (REDMINE-111040)'
    },
    {
      action: 'fix',
      message: '    00daaa77 - fix(content): 内容编辑页面：应不可以编辑他人的反馈内容 - (REDMINE-110325)'
    },
    {
      action: 'fix',
      message: '    f18e9625 - fix: 修复:内容为空的时候，提交应该为disabled (REDMINE-110924)'
    }
  ],
  refactor: [
    {
      action: 'refactor',
      message: '    ad1641be - refactor: modal styled + min-max height'
    }
  ]
}
*/
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-commits-parser/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-commits-parser
[version-url]: https://npmjs.org/package/@jswork/next-commits-parser

[license-image]: https://img.shields.io/npm/l/@jswork/next-commits-parser
[license-url]: https://github.com/afeiship/next-commits-parser/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-commits-parser
[size-url]: https://github.com/afeiship/next-commits-parser/blob/master/dist/next-commits-parser.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-commits-parser
[download-url]: https://www.npmjs.com/package/@jswork/next-commits-parser
npm package: @jswork/next-compact
Description: Returns a copy of the array/object with all falsy values removed.
Author: afei
Latest version: 1.1.0

# next-compact
> Returns a copy of the array/object with all falsy values removed.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-compact
```

## usage
```js
import '@jswork/next-compact';

const arr1 = [0, 1, false, 2, '', 3];
const arr2 = [0, 1, false, 2, '', 3, [], [], 'a'];

const result1 = nx.compact(arr);
const result2 = nx.compact(obj);

// [1, 2, 3]
// [1, 2, 3, 'a']
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-compact/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-compact
[version-url]: https://npmjs.org/package/@jswork/next-compact

[license-image]: https://img.shields.io/npm/l/@jswork/next-compact
[license-url]: https://github.com/afeiship/next-compact/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-compact
[size-url]: https://github.com/afeiship/next-compact/blob/master/dist/next-compact.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-compact
[download-url]: https://www.npmjs.com/package/@jswork/next-compact
npm package: @jswork/next-compact-object
Description: Deep compact object for next.
Author: afei
Latest version: 1.0.7

# next-compact-object
> Deep compact object for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-compact-object
```

## usage
```js
import '@jswork/next-compact-object';

const obj1 = {
  name: 'fei',
  age: 100,
  duature: 0,
  items: [
    { test: 123, arr1: 12, test: 0, fa: false },
    { name: 'fei', str1: undefined, str2: false, active: false, test: 0, nillValue: null }
  ]
};

nx.compactObject(obj1);

/*
{
  name: 'fei',
  age: 100,
  duature: 0,
  items: [
    { test: 123, arr1: 12, test: 0, fa: false },
    { name: 'fei', str2: false, active: false, test: 0 }
  ]
}
*/
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-compact-object/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-compact-object
[version-url]: https://npmjs.org/package/@jswork/next-compact-object

[license-image]: https://img.shields.io/npm/l/@jswork/next-compact-object
[license-url]: https://github.com/afeiship/next-compact-object/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-compact-object
[size-url]: https://github.com/afeiship/next-compact-object/blob/master/dist/next-compact-object.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-compact-object
[download-url]: https://www.npmjs.com/package/@jswork/next-compact-object
npm package: @jswork/next-compare
Description: Basic compare for next.
Author: afei
Latest version: 1.0.3

# next-compare
> Basic compare for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-compare
```

## usage
```js
import '@jswork/next-compare';

nx.compare(2, 1);   // 1
nx.compare(1, 1);   // 0
nx.compare(1, 2);   // -1
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-compare/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-compare
[version-url]: https://npmjs.org/package/@jswork/next-compare

[license-image]: https://img.shields.io/npm/l/@jswork/next-compare
[license-url]: https://github.com/afeiship/next-compare/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-compare
[size-url]: https://github.com/afeiship/next-compare/blob/master/dist/next-compare.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-compare
[download-url]: https://www.npmjs.com/package/@jswork/next-compare
npm package: @jswork/next-compose
Description: Compose for next.
Author: afei
Latest version: 1.1.3

# next-compose
> Compose for next.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-compose
```

## usage
```js
import '@jswork/next-compose';

const fn1 = function (inStr) {
  return inStr.toUpperCase();
};

const fn2 = function (inStr) {
  return ['{', inStr, '}'].join('');
};

const fn3 = function (inStr){
  return '@' + inStr;
}

const cp = nx.compose(fn1, fn2, fn3);
const cp2 = nx.compose(fn3, fn2, fn1);

const rs = cp('afei');  // fn1(fn2(fn3('afei')));
// {@AFEI}

const rs2 = cp2('afei'); // fn3(fn2(fn1('afei')));
// @{AFEI}
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-compose/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-compose
[version-url]: https://npmjs.org/package/@jswork/next-compose

[license-image]: https://img.shields.io/npm/l/@jswork/next-compose
[license-url]: https://github.com/afeiship/next-compose/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-compose
[size-url]: https://github.com/afeiship/next-compose/blob/master/dist/next-compose.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-compose
[download-url]: https://www.npmjs.com/package/@jswork/next-compose
npm package: @jswork/next-concat
Description: Creates a new array joining a wrapped array with any additional arrays and/or values.
Author: afei
Latest version: 1.0.1

# next-concat
> Creates a new array joining a wrapped array with any additional arrays and/or values.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-concat
```

## usage
```js
import '@jswork/next-concat';

const arr1 = [1,2];
const arr2 = ['a'];
const result = nx.concat(arr1,arr2);

//[1,2,'a'];
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-concat/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-concat
[version-url]: https://npmjs.org/package/@jswork/next-concat

[license-image]: https://img.shields.io/npm/l/@jswork/next-concat
[license-url]: https://github.com/afeiship/next-concat/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-concat
[size-url]: https://github.com/afeiship/next-concat/blob/master/dist/next-concat.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-concat
[download-url]: https://www.npmjs.com/package/@jswork/next-concat
npm package: @jswork/next-const-adjective
Description: A lot of adjective.
Author: afei
Latest version: 1.0.0

# next-const-adjective
> A lot of adjective.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-const-adjective
```

## usage
```js
import '@jswork/next-const-adjective';

const adjs = nx.onstAdjective;  // ['xxx','yy'];
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-const-adjective/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-const-adjective
[version-url]: https://npmjs.org/package/@jswork/next-const-adjective

[license-image]: https://img.shields.io/npm/l/@jswork/next-const-adjective
[license-url]: https://github.com/afeiship/next-const-adjective/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-const-adjective
[size-url]: https://github.com/afeiship/next-const-adjective/blob/master/dist/next-const-adjective.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-const-adjective
[download-url]: https://www.npmjs.com/package/@jswork/next-const-adjective
npm package: @jswork/next-const-colors
Description: Standard colors list.
Author: afei
Latest version: 1.0.1

# next-const-colors
> Standard colors list.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```bash
npm install -S @jswork/next-const-colors
```

## usage
```js
import '@jswork/next-const-colors';

// a list of colors
[
  '#7B0600', '#9E4000', '#916400', '#28547C', '#01007E', '#561F4E', '#3C3C3C', '#004FC0',
  // ...
]
```

## license
Code released under [the MIT license](https://github.com/afeiship/next-const-colors/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/next-const-colors
[version-url]: https://npmjs.org/package/@jswork/next-const-colors

[license-image]: https://img.shields.io/npm/l/@jswork/next-const-colors
[license-url]: https://github.com/afeiship/next-const-colors/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-const-colors
[size-url]: https://github.com/afeiship/next-const-colors/blob/master/dist/next-const-colors.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/next-const-colors
[download-url]: https://www.npmjs.com/package/@jswork/next-const-colors