open-index/open-npm huggingface dataset:
npm package: @rinkuto/koishi-plugin-logs
Description: 输出最新的几十条日志
Latest version: 1.1.2

# @rinkuto/koishi-plugin-logs

[![npm](https://img.shields.io/npm/v/@rinkuto/koishi-plugin-logs?style=flat-square)](https://www.npmjs.com/package/@rinkuto/koishi-plugin-logs)

输出最新的几十条日志
npm package: @rinkuto/koishi-plugin-pixiv
Description: 从pixiv中随机获取一张图片
Latest version: 1.1.7

# @rinkuto/koishi-plugin-pixiv

[![npm](https://img.shields.io/npm/v/@rinkuto/koishi-plugin-pixiv?style=flat-square)](https://www.npmjs.com/package/@rinkuto/koishi-plugin-pixiv)

从pixiv中随机获取一张图片

| 参数        |               作用                | 默认值                   |
|-----------|:-------------------------------:|-----------------------|
| isR18     |            是否随机R18图片            | false                 |
| isProxy   |             是否启用代理              | false                 |
| R18P      | 随机图片中R18的概率，别开太高哦~，仅在isR18为真时有效 | 0.1                   |
| proxyHost |     代理服务器的地址，仅在isProxy为真时有效     | http://127.0.0.1:7890 |

### 使用方法

指令为来张色图，输入来张色图即可，后面可以跟上关键词
如
```
来张色图 黑丝
```
即可随机获取一张黑丝的图片

-n 选项为指定获取的图片数量，默认为一张，最大不超过10张，如
```
来张色图 -n 5 黑丝
```
即可随机获取5张黑丝的图片，关键词一定要放在最后面
npm package: @rinkuto/koishi-plugin-young-study
Description: 青年大学习插件，仅供学习使用，一切责任与本人无关
Latest version: 1.0.5

# koishi-plugin-young-study

[![npm](https://img.shields.io/npm/v/@rinkuto/koishi-plugin-young-study?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-young-study)

青年大学习插件

目前江西和湖北省的同学能使用此插件，其他地区的同学想用可以提issue（需要青年大学习的接口）

# 指令

### 提交大学习

使用此指令前必须先设置青年大学习<br>
提交青年大学习，并且返回截图。

### 设置青年大学习

设置后可以持久化保存青年大学习的信息，下次使用不需要再次设置<br>
输入参数以`#`隔开<br>
指令格式：设置青年大学习 #省份#一级团委#二级团委#三级团委#四级团委#姓名
例如：

```
设置青年大学习 #江西#省属本科院校团委#xx大学团委#xx学院团委#xxx团支部#张三
设置青年大学习 #湖北#学校#院系#组织#姓名
```

### 查组织

用来查某个团委下的所有下级团委<br>
湖北省暂不支持查组织<br>
输入参数以`#`隔开
指令格式：设置青年大学习 #省份#一级团委#二级团委...
例如：

```
查组织 #江西#省属本科院校团委#xx大学团委#xx学院团委
```

### 批量青年大学习

批量提交命令发出者所在团委的青年大学习，需要先设置青年大学习，并且权限要大于等于3<br>

# 免责声明

1. 此新系统还在开发当中，此脚本有随时失效的风险。如失效请提交issue，我会尽快修复
2. 本程序为免费开源项目，仅供交流学习，遵循GPL v3开源协议，无任何形式的盈利行为。
3. 本程序服务于原系统，旨在让原系统功能更强大。
4. 本程序皆调用官方接口实现，无任何"Hack"行为，无破坏官方接口行为。
5. 本程序仅做数据处理，不拦截、存储、篡改任何用户数据。
6. 严禁使用本程序进行盈利、散播任何违法信息等行为。
7. 本程序不作任何稳定性的承诺，如因使用本程序导致的问题，均与本软件无关。
npm package: @rinq/cbor
Description: The Concise Binary Object Representation (CBOR) data format (RFC7049) implemented in pure JavaScript.
Author: Patrick Gansterer
Latest version: 0.2.2

cbor-js
=======

The Concise Binary Object Representation (CBOR) data format ([RFC 7049](http://tools.ietf.org/html/rfc7049)) implemented in pure JavaScript.

[![Build Status](https://api.travis-ci.org/paroga/cbor-js.svg)](https://travis-ci.org/paroga/cbor-js)
[![Coverage Status](https://coveralls.io/repos/paroga/cbor-js/badge.svg?branch=master)](https://coveralls.io/r/paroga/cbor-js?branch=master)
[![Dependency status](https://david-dm.org/paroga/cbor-js/status.svg)](https://david-dm.org/paroga/cbor-js#info=dependencies&view=table)
[![Dev Dependency Status](https://david-dm.org/paroga/cbor-js/dev-status.svg)](https://david-dm.org/paroga/cbor-js#info=devDependencies&view=table)
[![Selenium Test Status](https://saucelabs.com/buildstatus/paroga-cbor-js)](https://saucelabs.com/u/paroga-cbor-js)

[![Selenium Test Status](https://saucelabs.com/browser-matrix/paroga-cbor-js.svg)](https://saucelabs.com/u/paroga-cbor-js)

API
---

The `CBOR`-object provides the following two functions:

CBOR.**decode**(*data*)
> Take the ArrayBuffer object *data* and return it decoded as a JavaScript object.

CBOR.**encode**(*data*)
> Take the JavaScript object *data* and return it encoded as a ArrayBuffer object.

Usage
-----

Include `cbor.js` in your or HTML page:
```html
<script src="path/to/cbor.js" type="text/javascript"></script>
```

Then you can use it via the `CBOR`-object in your code:
```javascript
var initial = { Hello: "World" };
var encoded = CBOR.encode(initial);
var decoded = CBOR.decode(encoded);
```
After running this example `initial` and `decoded` represent the same value.

### Combination with WebSocket

The API was designed to play well with the `WebSocket` object in the browser:
```javascript
var websocket = new WebSocket(url);
websocket.binaryType = "arraybuffer";
...
websocket.onmessage = function(event) {
  var message = CBOR.decode(event.data);
};
...
websocket.send(CBOR.encode(message));
```
npm package: @rinse-dental/open-dental
Description: A TypeScript library for easily accessing Open Dental APIs.
Author: Rinse Dental Inc.
Latest version: 3.3.1




## Unofficial Open Dental node sdk. 

```
//Init

const { OpenDental } = require('@rinse-dental/open-dental');

OpenDental.initialize(
  OPEN_DENTAL_BASEURL, // your base url
  OPEN_DENTAL_API_KEY // your open dental provided api key (ODFHIR ...)
);


//Example

const patients = OpenDental.Patients();
const getPatients = getPatients({
    LName: "Smith",
    FName: "John",
});

//return getPatients;  //Returns array of patients; 

const postPatient = patients.createPatient({
    LName: "Smith",
    FName: "John",
    ...additionalData,
});

return postPatient; //Returns patient object

```
npm package: @rinse/react-native-background-task
Description: Start background tasks on iOS
Author: Brett Jackson
Latest version: 0.1.3

# react-native-background-task

Start background tasks on iOS

## Installation

```sh
npm install react-native-background-task
```

## Usage

```js
import { multiply } from "react-native-background-task";

// ...

const result = await multiply(3, 7);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @rinsenrepeat/money-legos
Description: [![circleci](https://badgen.net/circleci/github/studydefi/money-legos)](https://app.circleci.com/pipelines/github/studydefi/money-legos) [![npm](https://badgen.net/npm/v/@studydefi/money-legos)](https://www.npmjs.com/package/@studydefi/money-legos) ![ty
Author: rinsenrepeat
Latest version: 2.4.3

# money-legos

[![circleci](https://badgen.net/circleci/github/studydefi/money-legos)](https://app.circleci.com/pipelines/github/studydefi/money-legos)
[![npm](https://badgen.net/npm/v/@studydefi/money-legos)](https://www.npmjs.com/package/@studydefi/money-legos)
![types](https://badgen.net/npm/types/@studydefi/money-legos)
![minzip](https://badgen.net/bundlephobia/minzip/@studydefi/money-legos)

![legos autocomplete](./assets/legos-autocomplete.gif)

> Get **ABIs**, **Addresses**, and **Solidity Interfaces** to popular DeFi protocols

**Now with Typescript-powered autocomplete!**

`money-legos` is an NPM package that provides you with the **mainnet addresses**, **ABIs**, and **Solidity interfaces** for popular DeFi protocols.

### Click [here](https://money-legos.studydefi.com/) for docs and visit our Discord [here](https://discord.gg/rBr3U32)!

Protocols supported:

- AAVE
- Compound
- Curve Finance
- DappSys
- DyDx
- ERC20
- Idle V3
- Kyber.Network
- MakerDAO
- OneSplit
- UMA Protocol
- Uniswap v1
- Synthetix
- Balancer
- mStable
- Uniswap v2

Importing specific protocols is also supported:

<img src="./assets/weight.png" alt="size" width="540">

## Install

```bash
npm install @studydefi/money-legos
```

## Usage

### JavaScript

```javascript
import { legos } from "@studydefi/money-legos";

// access ABIs and addresses
legos.erc20.abi;
legos.erc20.dai.address;

// of many popular DeFi protocols
legos.uniswap.factory.abi;
legos.uniswap.factory.address;

// import only the protocol you are interested in
import uniswap from "@studydefi/money-legos/uniswap";

uniswap.factory.abi;
uniswap.factory.address;
```

### Solidity

```solidity
pragma solidity ^0.5.0;

import "@studydefi/money-legos/onesplit/contracts/IOneSplit.sol";

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";


contract OneSplitSwapper {
    // Uniswap Mainnet factory address
    address constant OneSplitAddress = 0xC586BeF4a0992C495Cf22e1aeEE4E446CECDee0E;

    function _swap(address from, address to, uint256 amountWei) internal {
        IERC20 fromIERC20 = IERC20(from);
        IERC20 toIERC20 = IERC20(to);

        (uint256 returnAmount, uint256[] memory distribution) = IOneSplit(
            OneSplitAddress
        ).getExpectedReturn(
            fromIERC20,
            toIERC20,
            amountWei,
            10,
            0
        );

        IOneSplit(OneSplitAddress).swap(
            fromIERC20,
            toIERC20,
            amountWei,
            returnAmount,
            distribution,
            0
        );
    }
}
```
npm package: @rinsuki/eslint-config
Description: my eslint config
Author: rinsuki
Latest version: 2.1.0

# @rinsuki/eslint-config

## usage

```sh
yarn add -D @rinsuki/eslint-config @rinsuki/prettier-config eslint prettier
```

```js
// at package.json
{
    "eslint": {
        "extends": ["@rinsuki"], // or "@rinsuki/eslint-config/without-ts"
        "parserOptions": {
            "project": ["./tsconfig.json"]
        }
    },
    "prettier": "@rinsuki/prettier-config",
}
```