open-index/open-npm huggingface dataset:
npm package: @rewrlution/devlog
Description: CLI journaling tool built for developers
Author: rewrlution@gmail.com
Latest version: 0.0.4

# Devlog

`devlog` is a CLI journaling tool built for developers.

My daily routine:

```bash
devlog pull
devlog add
devlog push
```

## Usage

To see all available options:

```bash
devlog -h
```

To create a journal for today:

```bash
# by default, create a new journal for today
devlog add [date]
```

To view the content of a journal:

```bash
# by default, read the content of today's journal
devlog read [date]
```

To sync among different devices

```bash
devlog sync # bidirectional
devlog pull # download
devlog push # upload
```
npm package: @rex0220/kintone-get-pluginid
Description: A tool to generate plugin IDs for Kintone plugins from private keys.
Author: rex0220
Latest version: 1.0.4


# kintone-get-pluginid

A tool to generate plugin IDs for Kintone plugins from private keys.

## Installation

You can install this package globally using npm:

```bash
npm install -g @rex0220/kintone-get-pluginid
```

## Usage

To generate a plugin ID from a private key, you can use the command line tool \`rex0220-get-pluginid\`. 

### Basic Usage

```bash
rex0220-get-pluginid -i path/to/your/private_key.pem
```

This command will generate a plugin ID and print it to the console.

### Output to File

To output the plugin ID to a file, use the \`--out\` or \`-o\` option:

```bash
rex0220-get-pluginid -i path/to/your/private_key.pem -o path/to/output_file.txt
```

This will write the generated plugin ID to the specified file.

## Options

- \`-i, --input\`: Path to the private key file (required).
- \`-o, --out\`: Output file path for the plugin ID (optional).

## Example

```bash
rex0220-get-pluginid -i my_private_key.pem -o plugin_id.txt
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

This project includes code from the following MIT-licensed projects:

- kintone/js-sdk (https://github.com/kintone/js-sdk/tree/main/packages/plugin-packer)

## Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

## Author

rex0220 - [rex0220@gmail.com](mailto:rex0220@gmail.com)

## Repository

[https://github.com/rex0220/kintone-get-pluginid](https://github.com/rex0220/kintone-get-pluginid)

## Bugs

If you encounter any issues, please report them at [https://github.com/rex0220/kintone-get-pluginid/issues](https://github.com/rex0220/kintone-get-pluginid/issues).

## Homepage

For more information, visit the project homepage: [https://github.com/rex0220/kintone-get-pluginid#readme](https://github.com/rex0220/kintone-get-pluginid#readme)
npm package: @rex0220/kintone-plugin-uploader
Description: A tool to upload and update kintone plugin file.
Author: rex0220
Latest version: 1.1.7

# kintone Plugin Uploader

## Description

This script is a tool for uploading and updating kintone plugin files. It provides the following features:
- Retrieves kintone domain, username, and password from environment variables, command-line arguments, or an environment variable file.
- Uploads and updates plugin files.
- Saves and loads plugin IDs.
- Optionally watches for changes to the plugin file and automatically uploads it.

## Usage

### Installation

1. Clone the repository:
    git clone https://github.com/rex0220/kintone-plugin-uploader.git
    cd kintone-plugin-uploader

2. Install dependencies:
    npm install

### Running the Script

    node plugin-uploader.js --file <path_to_plugin_file> [options]

### Options

- `--envfile`, `-e`: Path to the environment variable file.
- `--domain`, `-d`: kintone domain.
- `--username`, `-u`: kintone username.
- `--password`, `-p`: kintone password.
- `--file`, `-f`: The path of the plugin file. (Required)
- `--watch`, `-w`: Watch the plugin file for changes. (Default: false)
- `--waittime`, `-t`: Wait time in milliseconds before uploading. (Default: 0)
- `--id`, `-i`: Plugin ID. (Default: '')

### Environment Variable File

If you want to use an environment variable file, create a `.env` file with the following format:

    KINTONE_DOMAIN=your_domain
    KINTONE_USERNAME=your_username
    KINTONE_PASSWORD=your_password

### Example

    node plugin-uploader.js --file ./my-plugin.zip --domain mydomain --username myuser --password mypass

### Author

Created by rex0220

## License

This project is licensed under the MIT License.
npm package: @rexby/draftjs-to-tiptap
Description: draftjs to tiptap markup converter
Author: rexbylabs
Latest version: 1.0.3

# draftjs-to-tiptap

draftjs to tiptap markup converter

## install

`npm i @rexby/draftjs-to-tiptap` 
or  
`yarn add @rexby/draftjs-to-tiptap`

### Usage

	import { draftjsToTiptap } from "@rexby/draftjs-to-tiptap";

	draftjsToTiptap(draftjsDocument, {
		// If you have @mentions in your draftjs documents you need to supply a
		// function to convert draftjs entity to tiptap mention attributes.
		// `entity.data.mention` will depend on how you configured your draftjs
		// editor, and you need to return an object with id and label as tiptap
		// expects
		getMentionAttrs: (entity) => {
			return {
				id: entity.data.mention.id,
				label: entity.data.mention.name
			};
		},
	})

Input and output are json objects. If you store your documents as strings you will need to `JSON.parse` the input and `JSON.stringify` the output yourself.
npm package: @rexdexwarrior/sdk
Description: 🛠 An SDK for building applications on top of RexDex.
Latest version: 1.0.1

# RexDex SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/Uniswap/rexdex-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/rexdex-sdk)
[![npm version](https://img.shields.io/npm/v/@uniswap/sdk/latest.svg)](https://www.npmjs.com/package/@uniswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@uniswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@uniswap/sdk@latest)

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/Uniswap/rexdex-sdk.git
```

Move into the rexdex-sdk working directory

```sh
cd rexdex-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @rexerwang/wechat-sdk
Description: Manager Wechat(Weixin) jssdk, wrapper of offical sdk library. Provide vue/nuxt plugin for easy use.
Author: rexerwang
Latest version: 0.1.6

<h2 align="center">
wechat-sdk
<a href="https://www.npmjs.com/package/@rexerwang/wechat-sdk"><img src="https://img.shields.io/npm/l/@rexerwang/wechat-sdk.svg" alt="License"></a>
<a href="https://www.npmjs.com/package/@rexerwang/wechat-sdk"><img src="https://img.shields.io/npm/v/@rexerwang/wechat-sdk.svg" alt="Version"></a>
</h2>

> Manager Wechat(Weixin) jssdk, wrapper of offical sdk library. Provide vue/nuxt plugin for easy use.

## Install

```
npm i @rexerwang/wechat-sdk
yarn add @rexerwang/wechat-sdk
```

## Intro

为了方便的使用和管理微信JSSDK，针对jsapi（wx）做轻量封装。
提供`SDKManager`对官方库（jweixin.js）按版本号异步加载，可方便切换和升级SDK版本。并提供多个CDN源，方便加载失败后fallback。   

针对接口调用，提供Promisify和正常方式两种方法：
 - Promisify: `SDKManager.invoke(api, args)`
 - 正常方式: `SDKManager.invokeStrict(api, args)`

针对异常，提供`WechatError`统一异常类管理[wechat/error.js](https://github.com/rexerwang/wechat-sdk/blob/master/wechat/error.js)，额外包含`code`错误状态码，`res`微信接口返回数据。

针对微信分享，提供`SDKManager.setupShareData`，对新老版本接口做兼容处理，可放心使用（优先使用老版本接口）。


## Usage

### options
配置项见：[wechat/options.js](https://github.com/rexerwang/wechat-sdk/blob/master/wechat/options.js#L4)

```js
// 1. 获取（只读）
console.log(SDKManager.options)

// 2. 更新（merge操作）
SDKManager.options = customOptions

// 3. 指定JSDK版本
SDKManger.options = { version:'1.4.0' }
```

### 初始化
1. wechat.require(version?)
2. wechat.config(config, jsApiList?)


### 调用接口

```js
const wechat = new SDKManager()

// 异步方式调用（Promisify）
wechat.invoke('api_name', api_args)
  .then(res => {
    // 调用成功
  })
  .catch(error => {
    // 调用失败，或用户取消

    // 用户取消
    if(error.code === WechatError.ERR_CANCELLED) {
      // error.res
    }

    // 调用失败
    else if(error.code === WechatError.ERR_FAILURE) {
      // error.message
    }

    // 其他错误
    // WechatError.ERR_SDK_MISS 缺失JSSDK
    // WechatError.ERR_SDK_INACTIVE JSSDK未注册
    // WechatError.ERR_API_INACTIVE 接口未注册
    // ...

  })


// 正常方式
wechat.invokeStrict('api_name', {
  ...api_args,
  susscess(res){},
  cancel(res){},
  fail(rs){},
})

```

另外，提供常用接口别名方法（alias）:

- 显示所有非基础按钮: `wechat.showAllNonBaseMenuItem`
- 隐藏所有非基础按钮: `wechat.hideAllNonBaseMenuItem`
- 自定义“分享给朋友”及“分享到QQ”按钮的分享内容（1.4.0）: `wechat.updateAppMessageShareData`
- 自定义“分享到朋友圈”及“分享到QQ空间”按钮的分享内容（1.4.0）: `wechat.updateTimelineShareData`
- 获取“分享给朋友”按钮点击状态及自定义分享内容: `wechat.onMenuShareAppMessage`
- 获取“分享到朋友圈”按钮点击状态及自定义分享内容: `wechat.onMenuShareTimeline`

### 其他方法
- 统一配置微信分享信息（好友和朋友圈）: `wechat.setupShareData(config1, config2)`
- 仅显示微信分享相关菜单: `wechat.showShareMenuOnly()`
- 检查SDK状态：`wechat._checkSdkStatus()`
- 检查接口状态: `wechat._checkApiStatus(api)`


## 其他

### WechatError

### MenuItem