open-index/open-npm huggingface dataset:
npm package: @jswork/glob-concat
Description: Glob concat files.
Author: afei
Latest version: 1.0.0

# glob-concat
> Glob concat files.

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

## installation
```shell
npm install @jswork/glob-concat
```

## todos
- [ ] utf8/gbk detect
- [ ] concat/concat.sync

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/glob-concat
[download-url]: https://www.npmjs.com/package/@jswork/glob-concat
npm package: @jswork/gm-assistant
Description: Tampermonkey assistant.
Author: afeiship
Latest version: 1.0.72

# gm-assistant
> Tampermonkey assistant.

## installation
<img alt='' width="800" src="https://tva1.js.work/large/007S8ZIlgy1ggl0ds8tvej30xp0u0n1d.jpg" />

## develop
<img alt="" width="800" src="https://tva1.js.work/large/da432263gy1hcavhefcb0j212w0mqdi4.jpg">

## features
- [x] 微信110屏蔽的网页下面方便自动打开
- [x] github 上添加 npm/github 快捷操作 
- [x] 在 github 的 repo 页面，添加复制快捷操作
- [x] 在所有页面添加 seo/tmb 操作工具栏

## steps
1. 安装 [tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en-US)
2. 打开 `tampermokey` 的管理面板(Dashboard)
3. 实用工具(tools)
4. Install from URL:
5. 用这个： https://raw.githubusercontent.com/afeiship/gm-assistant/master/dist/install.js
npm package: @jswork/gm-sdk
Description: Sdk for tampermonkey based on jQuery/nx.
Author: afeiship
Latest version: 1.1.7

<p align="center">
  <a href="https://github.com/afeiship/gm-sdk">
    <img width="350" src="https://tva1.sinaimg.cn/large/007S8ZIlgy1ggisduaj9ij30om08caaf.jpg" alt="gm-sdk logo">
  </a>
</p>

<h3 align="center">gm-sdk</h3>

<p align="center">
  Sdk for tampermonkey based on jQuery/nx.
</p>

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

## installation
```shell
npm i @jswork/gm-sdk
```

## sdks
| api   | description                            |
| ----- | -------------------------------------- |
| $     | jquery(You need requre it by yourself) |
| nx    | @jswork/next                         |
| gmsdk | -                                      |

## gmsdk apis
| api           | description             |
| ------------- | ----------------------- |
| `http`        | gm-sdk                  |
| `store`       | gm-sdk                  |
| `NxGmApi.log` | From tampermonkey apis. |

## usage
```js
// @require  https://cdn.jsdelivr.net/npm/@jswork/gm-sdk

// or lock the version
// @require  https://cdn.jsdelivr.net/npm/@jswork/gm-sdk@1.0.0
```

## resources
- https://www.tampermonkey.net/documentation.php
- https://github.com/afeiship/next-gm-api

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/gm-sdk
[download-url]: https://www.npmjs.com/package/@jswork/gm-sdk
npm package: @jswork/gm-styles
Description: Styles for tampermonkey.
Author: afei
Latest version: 1.1.3

# gm-styles
> Styles for tampermonkey.

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

## installation
```shell
npm install @jswork/gm-styles
```

## size
- 6.86 kB/index.css

## preview
- https://afeiship.github.io/gm-styles/

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/gm-styles
[download-url]: https://www.npmjs.com/package/@jswork/gm-styles
npm package: @jswork/gtc
Description: Gitlab trigger cli.
Author: afei
Latest version: 1.0.11

# gtc
> Gitlab trigger cli.

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

![snapshot](https://tva1.sinaimg.cn/large/e6c9d24egy1h34ig76g3wj20pw07gwf6.jpg)

## installation
```shell
# public
npm i -g @jswork/gtc

# private
git clone https://github.com/afeiship/gtc.git
cd gtc
npm i && npm link
```

## usage
~~~
Usage: gtc [options]

Options:
  -V, --version       output the version number
  -d, --debug         Only show cmds, but not clean.
  -u, --check-update  Check if has new udpate.
  -i, --init          Add gtc config to package.json.
  -h, --help          display help for command
~~~

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/gtc
[download-url]: https://www.npmjs.com/package/@jswork/gtc
npm package: @jswork/gulp-github-md2html
Description: Gulp plugin for github markdown to html.
Latest version: 1.0.2

# gulp-github-md2html
> Gulp plugin for github markdown to html.

## installation
```shell
# public
yarn add --dev @jswork/gulp-github-md2html
```

## usage
```js
"use strict";

const gulp = require('gulp');
const md2html = require('@jswork/gulp-github-md2html');
const rename = require('gulp-rename');

gulp.task('demo', function () {
  return gulp
    .src('src/*.md')
    .pipe(md2html())
    .pipe(rename({ extname: '.html' }))
    .pipe(gulp.dest('dist'));
});

gulp.task('default', gulp.series(['demo']));
```
npm package: @jswork/gulp-registry
Description: My common gulp registry.
Author: afeiship
Latest version: 1.0.45

# gulp-registry
> My common gulp registry.

## installation
```shell
npm i @jswork/gulp-registry -D
```

## usage
```js
const gulp = require("gulp");
const { TailwindRegistry, CleanRegistry } = require("@jswork/gulp-registry");
const reg1 = new TailwindRegistry({ src: "./styles/index.scss", dst: "./public/" });
const reg2 = new CleanRegistry({ dst: "./public/" });

[reg1, reg2].forEach((reg) => gulp.registry(reg));
```

```conf
$ npx gulp -T
[11:02:08] Tasks for ~/aric-notes/tailwindcss-notes/pure-html/gulpfile.js
[11:02:08] ├── tailwind
[11:02:08] └── clean
```
npm package: @jswork/hash-query
Description: Manage query parameters in URL hash.
Latest version: 1.0.2

# hash-query
> Manage query parameters in URL hash.

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

## installation
```shell
yarn add @jswork/hash-query
```

## usage
```js
import HashQuery from '@jswork/hash-query';

const hq = new HashQuery();

// Get query parameters
const params = hq.get();
console.log(params.get('id')); // null

// Set query parameters
hq.set(new URLSearchParams({ id: '123', name: 'test' }));
// URL will be updated to #/?id=123&name=test

// Update query parameters
hq.update({ name: 'new_test', age: '30' });
// URL will be updated to #/?id=123&name=new_test&age=30

hq.update({ age: null });
// URL will be updated to #/?id=123&name=new_test

// Convert to JSON
const json = hq.toJson();
console.log(json); // { id: '123', name: 'new_test' }

// Create from JSON
const newParams = HashQuery.fromJson({ city: 'shanghai' });
hq.set(newParams);
// URL will be updated to #/?city=shanghai

// Static toJson
const staticJson = HashQuery.toJson(new URLSearchParams('key=value'));
console.log(staticJson); // { key: 'value' }
```

## license
Code released under [the MIT license](https://github.com/afeiship/@jswork/hash-query/blob/master/LICENSE.txt).

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/hash-query
[download-url]: https://www.npmjs.com/package/@jswork/hash-query
npm package: @jswork/history-change
Description: Detect history/url change.
Latest version: 1.0.4

# history-change
> Detect history/url change.

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

## installation
```shell
npm install @jswork/history-change
```

## use in app
```js
import HistoryChange from '@jswork/history-change';

// app init
HistoryChange.init('hash');

// listen
window.addEventListener('historychange', (e) => {
  const { action, history } = e.detail;
  console.log('action/history :', action, history);
});
```

## usage in browser
```html
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>HistoryChange online version</title>
    <script src="https://unpkg.com/@jswork/history-change"></script>
  </head>
  <body>
    <nav>
      <a href="#1">111</a>
      <a href="#2">222</a>
      <a href="#3">333</a>
      <a href="#4">444</a>
    </nav>
    <script>
      HistoryChange.init('hash');

      window.addEventListener('historychange', (e) => {
        const { action, history } = e.detail;
        console.log('action/history :', action, history);
      });
    </script>
  </body>
</html>
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/history-change
[download-url]: https://www.npmjs.com/package/@jswork/history-change
npm package: @jswork/history-observer
Description: Observe and react to browser history changes.
Latest version: 1.0.2

# history-observer
> Observe and react to browser history changes.

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

## installation
```shell
yarn add @jswork/history-observer
```

## usage
```js
import historyObserver from '@jswork/history-observer';

// 监听所有实际发生的 URL 变化（默认行为：仅当 oldURL !== newURL 时触发）
const unsubscribe = historyObserver.subscribe(({ type, oldURL, newURL }) => {
  console.log(`Navigation type: ${type}`);
  console.log(`From: ${oldURL}`);
  console.log(`To:   ${newURL}`);
});

// 示例：触发 pushState（会触发回调）
history.pushState(null, '', '/page1');

// 示例：重复设置相同 URL（不会触发回调，因 URL 未变）
history.pushState(null, '', '/page1');

// 手动取消监听
// unsubscribe();
```

## license
Code released under [the MIT license](https://github.com/afeiship/@jswork/history-observer/blob/master/LICENSE.txt).

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/history-observer
[download-url]: https://www.npmjs.com/package/@jswork/history-observer
npm package: @jswork/hljs-constants
Description: Constants(style/language) for highlightjs
Latest version: 1.0.0

# hljs-constants
> Constants(style/language) for highlightjs

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

## installation
```shell
npm install @jswork/hljs-constants
```

## usage
```js
import { styles, languages } from '@jswork/hljs-constants';

// styles
[
  "a11y-dark",
  "a11y-light",
  "agate",
  "an-old-hope",
  "androidstudio",
  "arduino-light",
  "arta",
  // ....
]

// languages
[
  "1c",
  "abnf",
  "accesslog",
  "actionscript",
  "ada",
  "angelscript",
  "apache",
  "applescript",
  // ...
]
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/hljs-constants
[download-url]: https://www.npmjs.com/package/@jswork/hljs-constants
npm package: @jswork/hooks
Description: Custom react hooks.
Latest version: 1.0.1

# hooks
> Custom react hooks.

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

## installation
```shell
npm install @jswork/hooks
```

## usage
```js
import hooks from '@jswork/hooks';

// usage goes here.
```

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

[version-image]: https://img.shields.io/npm/v/@boilerplate-scope/boilerplate-typescript-package
[version-url]: https://npmjs.org/package/@boilerplate-scope/boilerplate-typescript-package

[license-image]: https://img.shields.io/npm/l/@boilerplate-scope/boilerplate-typescript-package
[license-url]: https://github.com/afeiship/boilerplate-typescript-package/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@boilerplate-scope/boilerplate-typescript-package
[size-url]: https://github.com/afeiship/boilerplate-typescript-package/blob/master/dist/boilerplate-typescript-package.min.js

[download-image]: https://img.shields.io/npm/dm/@boilerplate-scope/boilerplate-typescript-package
[download-url]: https://www.npmjs.com/package/@boilerplate-scope/boilerplate-typescript-package
npm package: @jswork/hot-config-service
Description: A lightweight JavaScript class for dynamic configurations.
Latest version: 1.0.14

# hot-config-service
> A lightweight JavaScript class for dynamic configurations.

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

## installation
```shell
yarn add @jswork/hot-config-service
```

## usage
```js
import HotConfigService from '@jswork/hot-config-service';

const hotConfig = new HotConfigService({
  // 环境配置，可以设置多个环境的API地址
  envs: {
    'beta': 'https://student-api.beta.saybot.net',
    'production': 'https://student-api.alo7.com'
  },
  // 当前环境
  env: 'beta',
  // API路径，可选，默认为空
  path: '/api/v2/configurations/',
  // 请求超时时间，可选，默认为30秒
  timeout: 30000,
  // 当请求失败时的默认配置，可选
  fallback: {}
});

// 获取配置
await hotConfig.fetch();

// 获取整个配置对象
const config = hotConfig.get();

// 获取特定路径的配置值
const value = hotConfig.get('some.nested.key');
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/hot-config-service
[download-url]: https://www.npmjs.com/package/@jswork/hot-config-service
npm package: @jswork/html-banner-webpack-plugin
Description: Adds a banner to the top of each generated html.
Author: feizheng
Latest version: 1.0.7

<p align="center">
  <img width="400" src="https://tva1.sinaimg.cn/large/006tNc79gy1g21fgm8dz8j30gi0b6mz4.jpg"/>
</p>

---

# html-banner-webpack-plugin
> Adds a banner to the top of each generated html.

## installation
```bash
npm install -D @jswork/html-banner-webpack-plugin
```

## usage
```js
import HtmlBannerWebpackPlugin from '@jswork/html-banner-webpack-plugin';

// ....
plutins:[
  new HtmlBannerWebpackPlugin({
    banner:[
      'NAME: editor-frontend',
      'VERSION: v1.1.5-alpha.6',
      'BUILD_TIME: 4/12/2019, 11:01:20 PM'
    ]
  })
]
// ...
```
npm package: @jswork/http-rest-config
Description: A simple rest config for react project.
Latest version: 2.0.47

# http-rest-config
> A simple rest config for react project.

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

## installation
```shell
npm install @jswork/http-rest-config
```

## usage
```js
import httpRestConfig from '@jswork/http-rest-config';

// usage goes here.
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/http-rest-config
[download-url]: https://www.npmjs.com/package/@jswork/http-rest-config
npm package: @jswork/http-schema
Description: Http schema based on next-fetch.
Latest version: 2.2.44

# http-schema
> Http schema based on next-fetch.

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

## installation
```shell
npm install @jswork/http-schema

// adapter: axios
yarn add axios @jswork/next-axios

// adapter: fetch(nodejs)
yarn add node-fetch @jswork/next-fetch

// adapter: fetch(bun/browser)
yarn add @jswork/next-fetch
```

## types
```ts
/// <reference types="@jswork/http-schema/dist/@types/type.d.ts" />
```

## usage
```js
import httpSchema from '@jswork/http-schema';

// use Axios
const $api1 = httpSchema({
  baseURL: "https://api.github.com",
  request: ["", "json"],
  resources: [
    {
      host: "http://dev2.demo.com",
      prefix: "v1_",
      name: "users",
      only: ["index"],
    },
    { prefix: "v2_", name: "posts" },
    { name: "roles", except: ["destroy"] },
    { name:'tags'},
    { name:'categories'},
    { name:'pictures'},
  ],
  items: [
    {
      items: {
        login: ["get", "/users/afeiship"],
      },
    },
  ],
}, { adapter: 'Axios'});

// use Fetch
import httpSchema from "@jswork/http-schema";
import "@jswork/next-fetch";

const $api2 = httpSchema(
  {
    baseURL: "https://api.github.com",
    request: ["", "json"],
    resources: [
      {
        host: "http://dev2.demo.com",
        prefix: "v1_",
        name: "users",
        only: ["index"],
      },
      { prefix: "v2_", name: "posts" },
      { name: "roles", except: ["destroy"] },
      { name: "tags" },
      { name: "categories" },
      { name: "pictures" },
    ],
    items: [
      {
        items: {
          login: ["get", "/users/afeiship"],
        },
      },
    ],
  },
  { adapter: "Fetch" }
);
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/http-schema
[download-url]: https://www.npmjs.com/package/@jswork/http-schema
npm package: @jswork/http-schema-init
Description: Init tools for http-schema.
Latest version: 1.0.8

# http-schema-init
> Init tools for http-schema.

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

## installation
```shell
npm install @jswork/http-schema-init
```

## usage
```js
import httpSchemaInit from '@jswork/http-schema-init';

// usage goes here.
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/http-schema-init
[download-url]: https://www.npmjs.com/package/@jswork/http-schema-init
npm package: @jswork/http-schema-tags
Description: Some http schema tags.
Latest version: 1.0.1

# http-schema-tags
> Some http schema tags.

## install
```shell
yarn add @jswork/http-schema-tags
```

## tags
- `code2kv`: 将 code -> value; name -> label;
- `id2kv`: 将 id -> value; name -> label;
npm package: @jswork/i18n-online-translator
Description: I18n-scanner + online translate.
Author: afei
Latest version: 1.0.1

# i18n-online-translator
> I18n-scanner + online translate.

## installation
```shell
npm install -S @jswork/i18n-online-translator
```

## options
| api        | type     | default                                 | description                    |
|------------| -------- |-----------------------------------------| ------------------------------ |
| cwd        | String   | `process.cwd()`                         | The base path for input/output |
| input      | String   | /assets/locale/original.json            | Original file path             |
| ouput      | String   | /assets/locale/dist                     | Translated folder path         |
| tab        | Number   | 2                                       | JSON format tab                |
| from       | String   | zh                                      | From which language            |
| lang       | Object   | { en: 'en', zh: 'zh_CN', cht: 'zh_TW' } | Translate to languages         |
| filter     | Function | ({ data, config})=>{ return data;}      | Filter the result              |
| apiOptions | Object   | { appid:null, secret:null}              | Baidu fanyi opitons            |

## usage
```js
const i18nOnlineTranslator = require('@jswork/i18n-online-translator');

i18nOnlineTranslator({
  input: './examples/basic/assets/org.json',
  output: './examples/basic/assets/dist'
});
```

```conf
.
├── assets
│   ├── dist
│   │   ├── en.json
│   │   ├── zh_CN.json
│   │   └── zh_TW.json
│   └── org.json
└── index.js
```
npm package: @jswork/iframe-mate
Description: Iframe mate.
Latest version: 1.1.3

# iframe-mate
> Iframe mate.

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

## installation
```shell
npm install @jswork/iframe-mate
```

## usage
```js
import iframeMate from '@jswork/iframe-mate';

// usage goes here.
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/iframe-mate
[download-url]: https://www.npmjs.com/package/@jswork/iframe-mate
npm package: @jswork/iframe-mate-codecs
Description: A slim codecs solution for iframe mate.
Latest version: 1.0.5

# iframe-mate-codecs
> A slim codecs solution for iframe mate.

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

## installation
```shell
npm install @jswork/iframe-mate-codecs
```

## usage
```js
import iframeMateCodecs from '@jswork/iframe-mate-codecs';

// usage goes here.
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/iframe-mate-codecs
[download-url]: https://www.npmjs.com/package/@jswork/iframe-mate-codecs
npm package: @jswork/ipt
Description: An ipt wrapper.
Latest version: 1.0.2

# ipt
> An ipt wrapper.

## installation
```shell
npm i -S @jswork/ipt
```

## usage
```js
// es6
import ipt from '@jswork/ipt';
// es5
const ipt = require('@jswok/ipt');

// select by user
ipt(['option1', 'option2']).then(res=>{
  console.log(res);
  // 'option1'
});

// use object[];
ipt([
  { name: 'key1', value: 'value1' },
  { name: 'key2', value: 'value2' },
  { name: 'key3', value: 'value3' },
]).then(res=>{
  // value1 or value2 or value3
  console.log('value is: ', res);
})
```
npm package: @jswork/is-alive
Description: Check url if is alive.
Latest version: 1.0.1

# is-alive
> Check url if is alive.

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

## installation
```shell
npm install @jswork/is-alive
```

## usage
```js
import isAlive from '@jswork/is-alive';

const { code, success } = await isAlive('https://www.baidu.com');
```

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

[version-image]: https://img.shields.io/npm/v/jswork/is-alive
[version-url]: https://npmjs.org/package/jswork/is-alive

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

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

[download-image]: https://img.shields.io/npm/dm/jswork/is-alive
[download-url]: https://www.npmjs.com/package/jswork/is-alive
npm package: @jswork/is-arrow-fn
Description: Determine if a function is an ES6 arrow function or not.
Latest version: 1.0.3

# is-arrow-fn
> Determine if a function is an ES6 arrow function or not.

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

## installation
```shell
npm install @jswork/is-arrow-fn
```

## usage
```js
import isArrowFn from '@jswork/is-arrow-fn';

const obj = {
  fn1() {
    console.log("normal fn1", this);
  },
  fn2: () => {
    console.log("arrow fn2", this);
  },
  fn3: function () {
    console.log("normal fn3", this);
  },
  fn4: function () {
    return () => {
      console.log("123");
    };
  },
};

isArrowFn(obj.fn1); // false
isArrowFn(obj.fn2); // true
isArrowFn(obj.fn3); // false
isArrowFn(obj.fn4); // false
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/is-arrow-fn
[download-url]: https://www.npmjs.com/package/@jswork/is-arrow-fn
npm package: @jswork/is-overflowed
Description: Detect element text overflowed.
Latest version: 1.0.3

# is-overflowed
> Detect element text overflowed.

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

## installation
```shell
npm install @jswork/is-overflowed
```

## usage
```js
import isOverflowed from '@jswork/is-overflowed';

const el = document.getElementById('my-element');
const isOverflowed = isOverflowed(el);
console.log(isOverflowed); // true or false
```

## types
```ts
/// <reference types="@jswork/is-overflowed/global.d.ts" />
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/is-overflowed
[download-url]: https://www.npmjs.com/package/@jswork/is-overflowed
npm package: @jswork/is-partial-equal
Description: Fast data equal for business data.
Latest version: 1.0.3

# is-partial-equal
> Fast data equal for business data.

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

## installation
```shell
npm install @jswork/is-partial-equal
```

## usage
```js
import isPartialEqual from '@jswork/is-partial-equal';

const data1 = { name: 'afei', age: 25 };
const data2 = { name: 'afei' };

console.log(isPartialEqual(data1, data2)); // true
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/is-partial-equal
[download-url]: https://www.npmjs.com/package/@jswork/is-partial-equal
npm package: @jswork/is-valid-url
Description: Check input is a valid url.
Latest version: 1.0.2

# is-valid-url
> Check input is a valid url.

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

## installation
```shell
npm install @jswork/is-valid-url
```

## usage
```js
import isValidUrl from '@jswork/is-valid-url';

isValidUrl('https://api.github.com/users/afeiship');  // true
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/is-valid-url
[download-url]: https://www.npmjs.com/package/@jswork/is-valid-url
npm package: @jswork/is-wx-request-timeout
Description: Detect if weixin request timeout for mina.
Latest version: 1.0.3

# is-wx-request-timeout
> Detect if weixin request timeout for mina.

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

## installation
```shell
npm install @jswork/is-wx-request-timeout
```

## usage
```js
import isWxRequestTimeout from '@jswork/is-wx-request-timeout';

const msg = err.errMsg; 

isWxRequestTimeout(msg); // true/false
```

## license
Code released under [the MIT license](https://github.com/afeiship/is-wx-request-timeout/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/is-wx-request-timeout
[version-url]: https://npmjs.org/package/@jswork/is-wx-request-timeout

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/is-wx-request-timeout
[download-url]: https://www.npmjs.com/package/@jswork/is-wx-request-timeout
npm package: @jswork/jotai-state-tree
Description: Jotai state tree.
Latest version: 1.0.3

# jotai-state-tree
> Jotai state tree.

## installation
```shell
yarn add @jswork/jotai-state-tree
```

## types
```ts
/// <reference types="@jswork/next" />
/// <reference types="@jswork/jotai-state-tree/@types" />
```
npm package: @jswork/jquery-totop
Description: jQuery plugin for back to top.
Author: afei
Latest version: 1.0.2

# jquery-totop
> jQuery plugin for back to top.

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

## installation
```shell
npm install @jswork/jquery-totop
```

## usage
```js
$().totop();
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/jquery-totop
[download-url]: https://www.npmjs.com/package/@jswork/jquery-totop
npm package: @jswork/jzyunqi-interceptors
Description: Interceptors for jzyunqi/yw.
Latest version: 1.0.12

# jzyunqi-interceptors
> Interceptors for jzyunqi/yw.

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

## installation
```shell
npm install @jswork/jzyunqi-interceptors
```

## usage
```js
import jzyunqiInterceptors from '@jswork/jzyunqi-interceptors';

// usage
const opts = {
  interceptors: [
    ...jzyunqiInterceptors,
    { type: 'response', fn: 'xxx' }
  ]
};

httpSchema({
  // ...
}, opts);
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/jzyunqi-interceptors
[download-url]: https://www.npmjs.com/package/@jswork/jzyunqi-interceptors
npm package: @jswork/keypad-quizizz
Description: Keypad style for quizizz.
Latest version: 1.0.4

# keypad-quizizz
> Keypad style for quizizz.

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

## installation
```shell
npm install -S @jswork/keypad-quizizz
```

## properties
| Name      | Type   | Required | Default | Description                           |
| --------- | ------ | -------- | ------- | ------------------------------------- |
| className | string | true     | -       | The extended className for component. |
| value     | object | true     | -       | Default value.                        |
| onChange  | func   | true     | -       | The change handler.                   |


## usage
1. import css
  ```scss
  @import "~@alo7/boilerplate-react-component/dist/style.css";

  // or use sass
  @import "~@alo7/boilerplate-react-component/dist/style.scss";

  // customize your styles:
  $boilerplate-react-component-options: ()
  ```
2. import js
  ```js
__GENERATE_DAPP__
  ```

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

[version-image]: https://img.shields.io/npm/v/@alo7/keypad-quizizz
[version-url]: https://npmjs.org/package/@alo7/keypad-quizizz

[license-image]: https://img.shields.io/npm/l/@alo7/keypad-quizizz
[license-url]: https://github.com/afeiship/keypad-quizizz/blob/master/LICENSE.txt

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

[download-image]: https://img.shields.io/npm/dm/@alo7/keypad-quizizz
[download-url]: https://www.npmjs.com/package/@alo7/keypad-quizizz
npm package: @jswork/kiv
Description: Key includes value.
Latest version: 1.0.2

# kiv
> Key includes value.

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

## installation
```shell
npm install @jswork/kiv
```

## usage
```js
import kiv from '@jswork/kiv';

const str2icon = {
  '@beta': '🍏',
  '@production': '🍎',
  '@upload': '🚚',
  '@cache': '📦',
};


kiv('Current msg is __@beta__.', str2icon); // Current msg is 🍏.
kiv('Current msg is __@production__.', str2icon); // Current msg is 🍎.
kiv('Current msg is __@upload__.', str2icon); // Current msg is 🚚.
kiv('Current msg is __@cache__.', str2icon); // Current msg is 📦.
kiv('Current msg is __@unknown__.', str2icon); // Current msg is ''.
kiv('Current msg is __@unknown__.', str2icon, '🍌'); // Current msg is 🍌.
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/kiv
[download-url]: https://www.npmjs.com/package/@jswork/kiv
npm package: @jswork/kube-config-list
Description: k8s config list.
Author: afei
Latest version: 1.0.2

# kube-config-list
> k8s config list.

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

![snapshot](https://tva1.sinaimg.cn/large/e6c9d24egy1h232tpsv0gj20ge05k3yl.jpg)

## installation
```shell
npm i -g @jswork/kube-config-list
```

## usage
```shell
Usage: kube-config-list [options]

Options:
  -V, --version  output the version number
  -b, --boot     Create "boot.sh" to ~/.kube dir (default: false)
  -h, --help     display help for command

# create boot.sh file
kube-config-list -b

# add alias to .bashrc/.zshrc
alias kcl="kube-config-list && source ~/.kube/boot.sh";
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/kube-config-list
[download-url]: https://www.npmjs.com/package/@jswork/kube-config-list
npm package: @jswork/latex-format
Description: Latex formater.
Latest version: 1.0.0

# latex-format
> Latex formater..

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

## installation
```shell
npm install @jswork/latex-format
```

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

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

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

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

[download-image]: https://img.shields.io/npm/dm/@jswork/latex-format
[download-url]: https://www.npmjs.com/package/@jswork/latex-format
npm package: @jswork/lazyload-img
Description: Lazyload image.
Latest version: 1.0.6

# lazyload-img

> Lazyload image.

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

## installation

```shell
npm install @jswork/lazyload-img
```

## usage

```js
import LazyloadImg from '@jswork/lazyload-img';

LazyloadImg.init({
  selector: '.lazyload',
  interval: 300,
});
```

```css
img[data-src].lazy {
  background-color: #f5f5f5;
  opacity: 0;
  transition: opacity 0.6s;
}
```

## types

```ts
/// <reference types="@jswork/lazyload-img/global.d.ts" />
```

## license

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

[version-image]: https://img.shields.io/npm/v/@jswork/lazyload-img
[version-url]: https://npmjs.org/package/@jswork/lazyload-img
[license-image]: https://img.shields.io/npm/l/@jswork/lazyload-img
[license-url]: https://github.com/afeiship/lazyload-img/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/lazyload-img
[size-url]: https://github.com/afeiship/lazyload-img/blob/master/dist/index.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/lazyload-img
[download-url]: https://www.npmjs.com/package/@jswork/lazyload-img
npm package: @jswork/leancloud
Description: Leancloud api.
Latest version: 1.0.7

# leancloud
> Leancloud api.

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

## installation
```shell
npm install @jswork/leancloud
```

## usage
```js
import LC from '@jswork/leancloud';
// @tsconfig: { moduleResolution: node }
// get
const res = await LC.get('60f77c8e85071346450995d3');
// value
const value = await LC.val('60f77c8e85071346450995d3');
// set
await LC.set('60f77c8e85071346450995d3', 'abc-test');
```

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

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

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

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

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