open-index/open-npm huggingface dataset:
npm package: @kkito/drumstick
Description: drumstick
Author: kkito
Latest version: 0.7.0

# Drumstick 🍗🍗🍗
[![Build Status](https://www.travis-ci.org/kkito/drumstick.svg?branch=master)](https://www.travis-ci.org/kkito/drumstick)
[![npm version](https://badge.fury.io/js/%40kkito%2Fdrumstick.svg)](https://badge.fury.io/js/%40kkito%2Fdrumstick)

## 

socket server 
http 加密代理


## CLI usage

install using npm `npm i -g @kkito/drumstick`

### start server 

`drumstick-server`

or append some options 

`drumstick-server port=5432 secret=aaaa`

### client in cli

`drumstick-client http://www.google.com`

`drumstick-client http://www.baidu.com port=5432 secret=aaaa`


## use in code

TODO test

### publish on npm 

`npm publish --access public`
npm package: @kkito/jsonrpc
Description: js(ts) implement json rpc 2.0
Author: kkito
Latest version: 0.2.0

# jsonrpc

[![Build Status](https://travis-ci.org/kkito/jsonrpc.svg?branch=master)](https://travis-ci.org/kkito/jsonrpc)
[![npm version](https://badge.fury.io/js/%40kkito%2Fjsonrpc.svg)](https://badge.fury.io/js/%40kkito%2Fjsonrpc)

implement jsonrpc 2.0

https://www.jsonrpc.org/specification

---

we can

- from a json to request object
- build response json
- a mechanism to execute from json (request object) to response json (response object)
- all implement json rpc 2.0

### sample

server side

```javascript
import { JsonRpcUtil } from "@kkito/jsonrpc";

const disp = JsonRpcUtil.getDispatcher();
disp.add("add", (a, b) => a + b);
const result = JsonRpcUtil.handle({
  id: 1,
  method: "add",
  version: "2.0",
  params: [3, 4],
});

// { jsonrpc: '2.0', id: 1, result: 7 }
console.log(result);

// deal with async
const asyncResult = JsonRpcUtil.asyncHandle({
  id: 1,
  method: "asyncAdd",
  version: "2.0",
  params: [3, 4],
});
// { jsonrpc: '2.0', id: 1, result: 7 }
console.log(asyncResult);
```

client side

```javascript
import axios from "axios";

const proxy = RpcClient.build({
  request: async (jsonReq) => {
    return axios.post("/the_endpoint", jsonReq);
  },
});

const result = await proxy.add(3, 4);
```
npm package: @kkkkkaiqi/electron-cli
Description: 通过react或者vue的cli工具来快速创建一个Electron应用
Author: kkkkkaiqi
Latest version: 1.0.6

### 项目介绍
使用react或者vue来构建electron项目


### Install
```
npm install -g @kkkkkaiqi/electron-cli
```

### Usage
```
electron-creator init <project-name> [options]

options:
  -g [message] : Force git initialization with initial commit message,
  -f : Overwrite target directory if it exists
```