open-index/open-npm huggingface dataset:
npm package: @gdxswap/sdk
Description: 🛠 An SDK for building applications on top of GDXswap.
Latest version: 0.0.3

# Pancakeswap SDK

Forked from the [Uniswap SDK](https://github.com/Uniswap/uniswap-v2-sdk/commit/a88048e9c4198a5bdaea00883ca00c8c8e582605).

You can refer to the Uniswap SDK documentation [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/pancakeswap/pancakeswap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-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: @gdxswap/uikit
Description: Set of UI components for pancake projects
Latest version: 0.1.8

# 🥞 Pancake UIkit

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @gdyfe/btn-qrcode
Description: 链接预览二维码及相关操作整合
Author: shelter01
Latest version: 1.0.13

# @gdyfe/btn-qrcode

## Installation

```
yarn add @gdyfe/btn-qrcode
```

```
npm install --save @gdyfe/btn-qrcode
```

## Usage

```js
import BtnQRCode from '@gdyfe/btn-qrcode'
```

```html
// 自定义属性data-btnqrcode存放url
<button data-btnqrcode="https://www.baidu.com">预览</button>
```

```js
const btnqrcode = new BtnQRCode(options)
// 数据更新时调用（如页码更新dom需重新调用）
btnqrcode.init()
```

## Options
```js
const btnqrcode = new BtnQRCode({
  openUrlText: '打开链接', // 选填，设置打开链接按钮与文字
  openUrlType: 'default', // 选填，打开按钮样式，（success/ghost/<默认值>default）
  copyUrlText: '一键复制', // 选填，设置复制链接按钮与文字
  copyUrlType: 'default', // 选填，复制按钮样式，（success/ghost/<默认值>default）
  urlTextPosTB: 'bottom', // 选填，打开与复制按钮位于二维码方位，（top/<默认值>bottom）
  urlTextPosLR: 'between', // 选填，打开与复制按钮排版格式，（around/left/right/center/<默认值>between）
  noticeText: '提示语句', // 选填，提示语句
  noticeTextColor: '#666', // 选填，提示语句颜色设置
  isShowInput: true, // 选填，是否显示input输入框
  boundaryDom: '.content' // 选填，是否指定定位边界dom元素选择器
  placement: 'bottom' //选填，默认bottom
})

btnqrcode.onCopy = () => {
  // 复制完成时自定义操作，如复制成功通知
}
```