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

# Qswap 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://docs.uniswap.org/sdk/2.0.0/).
npm package: @qsxy/babel-plugin-element-plus-react
Description: a babel plugin of tree shaking for element-plus-react
Author: Parker
Latest version: 1.0.3

## 介绍

搭配@qsxy/element-plus-react，实现按需加载，提升性能，减少打包体积

### 安装命令：

```bash
yarn add @qsxy/babel-plugin-element-plus-react --dev
```

或

```bash
npm i @qsxy/babel-plugin-element-plus-react --save-dev
```

### 如何使用

然后把下列代码插入到你的 .babelrc 或者 babel.config.js 中

```js
plugins: [
    ['@qsxy/element-plus-react'],
],
```
npm package: @qsxy/element-plus-react
Description: element-plus-react
Latest version: 1.0.3

# @qsxy/element-plus-react

[![NPM version](https://img.shields.io/npm/v/element-plus-react.svg?style=flat)](https://npmjs.org/package/@qsxy/element-plus-react)
[![NPM downloads](http://img.shields.io/npm/dm/element-plus-react.svg?style=flat)](https://npmjs.org/package/@qsxy/element-plus-react)

-   [API 文档](https://ahqsluoye.github.io/element-plus-react/)

## Usage

```javascript
// how to use
import '@qsxy/element-plus-react/dist/index.css';
import { ElButton, ElLink } from '@qsxy/element-plus-react';
```

### Change the SCSS variable in the project

element-plus-react is using SCSS. If your project also uses SCSS, you can directly change the style variable of Element in the project. Create a new style file, such as element-variables.csss, and write the following content:

### 在项目中改变 SCSS 变量

element-plus-react 的 theme-chalk 使用 SCSS 编写，如果你的项目也使用了 SCSS，那么可以直接在项目中改变 Element 的样式变量。新建一个样式文件，例如 element-variables.scss，写入以下内容：

/_ Change the theme color variable _/

/_ 改变主题色变量 _/

```scss
@use '@qsxy/element-plus-react/theme-chalk/common/var' with(
        // 字体文件路径必填
        $fa-font-path: '~/node_modules/@qsxy/element-plus-react/theme-chalk/fonts',
        // 其他变量可自定义
        $colors:
            (
                'primary': (
                    'base': green,
                )
            )
    );
```

/_ Change icon font path variable, required _/

/_ 改变 icon 字体路径变量，必需 _/

```scss
@use '@qsxy/element-plus-react/theme-chalk/common/var' with($fa-font-path: '~@/assets/fonts');
```

## Warm Reminder

Currently, this library is in the development and testing stage, and there may be some inevitable issues. If you encounter any problems, please feel free to raise an issue for me, and I will fix them as soon as possible.

目前该库为开发测试阶段，会有一些不可避免的问题，如果您发现了一些问题，欢迎提 Issues 给我，我会尽快修复

## Development

```bash
# install dependencies
$ npm i @qsxy/element-plus-react
# It is recommended to use (to avoid React version conflicts)
# 推荐使用（避免react版本冲突）
$ pnpm add @qsxy/element-plus-react
```

## LICENSE

MIT
npm package: @qsyjlib/storage
Description: ``` npm i @qsyjlib/storage pnpm add @qsyjlib/storage ```
Author: qsyj
Latest version: 1.0.7




# Storage 库



#### 安装

```
npm i @qsyjlib/storage
pnpm add @qsyjlib/storage
```





#### 使用

```typescript
// 默认暴露
import storage from '@qsyjlib/storage'
//或
import { BaseStorage } from '@qsyjlib/storage'

```



####  创建 storage 对象

```typescript
import { BaseStorage } from '@qsyjlib/storage'

const storage = new BaseStorage({
  storage: window.localStorage,
  expires: 86400,
  prefix: 'qsyj_',
  isSerializer: true,
  serializers: {
    object: {
      read: v => v,
      write: v => v
    }
  }
})

// types
interface OptionsType {
  expires?: number;   // 过期时间 ，无过期时间 永久缓存
  prefix?: string;  // 前缀
  storage?: BaseLocalStorageType;  // 指定 缓存实例
  serializers?: SerializerRecorad, // 序列化处理
  isSerializers?: boolean // 是否序列化处理
}


```



`isSerializers` 如果不开启序列化处理 ，则 直接采用原值 ,特殊类型等直接存入会丢失，如果开启  `value` 值则会 序列化处理  ,



#### set  写入缓存

`set ` 会自动推断类型 使用哪种序列化处理  如果开启了

```typescript
set(key: string, value: any, options?: SetOptionsType): void


type TimeStampType = number | undefined;
interface SetOptionsType {
   // 是否永久
  isForever: boolean;
  // 时间戳 默认不指定，填入按照指定时间
  timestamp?: TimeStampType;
}

```



#### get  获取指定缓存



包中默认暴露出所有默认的 读取写入 ，不指定  readHandler 如果开启序列化 ，在读取时无法判别 序列处理  默认作为字符串处理  

```typescript

get<T = any>(key: string, readHandler?: Serializer<T>): T | null;

interface Serializer<T> {
  // 读取
  read?(raw: string): T;
  // 写入
  write(value: T): string;
}

```



#### remove 移除指定缓存

``` typescript
remove(key: string): void;
```



#### removeAll 移除全部缓存

清除结果为 keys 取值

```
removeAll(): void;
```

#### batchRemove 批量移除
``` typescript
batchRemove(keys:string[])
```


#### keys

匹配所有前缀  key，没设置前缀 获取全部，同 原 storage

```
keys(): number[] | never[];
```
npm package: @qsz3330/unisdk
Description: 🛠 An SDK for building applications on top of Uniswap.
Latest version: 1.0.5

# Uniswap 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/uniswap-sdk/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-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/uniswap-sdk.git
```

Move into the uniswap-sdk working directory

```sh
cd uniswap-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: @qt-test/bridge-sdk
Description: Bridge SDK for Super App native module access via postMessage
Author: Your Name
Latest version: 1.0.0

# @superapp/bridge-sdk

Bridge SDK for accessing native modules (Bluetooth, NFC, Location, Auth) in Super App mini apps.

## Installation

```bash
pnpm add @superapp/bridge-sdk
```

## Usage

```typescript
import {
  useBluetooth,
  useNFC,
  useLocation,
  useAuth,
} from "@superapp/bridge-sdk";

function EnergyApp() {
  const { scanDevices, connect } = useBluetooth();

  const handleScan = async () => {
    const devices = await scanDevices();
    console.log("Found devices:", devices);
  };

  return <Button onPress={handleScan} title="Scan Bluetooth" />;
}
```

## API

### Bluetooth

- `scanDevices()` - Scan for nearby Bluetooth devices
- `connect(deviceId)` - Connect to a device
- `disconnect(deviceId)` - Disconnect from a device
- `write(deviceId, data)` - Write data to device
- `onDataReceived(callback)` - Listen for incoming data

### NFC

- `isAvailable()` - Check if NFC is available
- `readTag()` - Read NFC tag
- `writeTag(data)` - Write to NFC tag
- `onTagDetected(callback)` - Listen for tag detection

### Location

- `getCurrentPosition()` - Get current location
- `watchPosition(callback)` - Watch location changes
- `stopWatching()` - Stop watching location

### Auth

- `getToken()` - Get auth token
- `getUserInfo()` - Get user info
- `logout()` - Logout user
npm package: @qt-test/federation-sdk
Description: Shared Module Federation configuration for QT Super App
Author: QT Team
Latest version: 1.0.12

# QT Federation SDK

Shared Module Federation configuration for QT Super App ecosystem.

## Installation

```bash
npm install @qt/federation-sdk
```

## Usage

### In Host App (QT)

```javascript
import {getSharedDependencies, withProduction} from '@qt/federation-sdk';

const USE_PRODUCTION = Boolean(process.env.PROD);

const config = (env) => {
  // Your config
  shared: getSharedDependencies({eager: true}), // Host loads first
};

export default USE_PRODUCTION ? withProduction()(config) : config;
```

### In Remote App (QTMove)

```javascript
import {getSharedDependencies} from '@qt/federation-sdk';

const config = (env) => {
  // Your config
  shared: getSharedDependencies({eager: STANDALONE}), // Remote waits for host
};

export default config;
```

## Environment Variables

### Production Remote URLs

Each remote can specify its own production URL via environment variables:

- `QTMOVE_REMOTE_URL` - Production URL for QTMove remote
- `ANALYTICS_REMOTE_URL` - Production URL for Analytics remote
- `PROFILE_REMOTE_URL` - Production URL for Profile remote

**Platform Support:**
The federation SDK automatically handles platform-specific bundles. URLs are transformed while preserving the `/${platform}/` path structure.

**Example - Development:**

```javascript
// Development URLs (in rspack.config.mjs)
remotes: {
  QTMove: `QTMove@http://localhost:3000/${platform}/QTMove.container.js.bundle`,
}
```

**Example - Production:**

```bash
# Host app production build for Android
PROD=1 QTMOVE_REMOTE_URL=https://qtmove.vercel.app npm run build:android

# Results in:
# QTMove@https://qtmove.vercel.app/android/QTMove.container.js.bundle

# Host app production build for iOS
PROD=1 QTMOVE_REMOTE_URL=https://qtmove.vercel.app npm run build:ios

# Results in:
# QTMove@https://qtmove.vercel.app/ios/QTMove.container.js.bundle
```

### Configuration

- `PROD=1` - Enable production URL transformation
- `REMOTE_CDN_URL` - Override default production CDN URL (deprecated - use specific vars)

## Versioning

- `npm run version:patch` - Patch version (1.0.0 → 1.0.1)
- `npm run version:minor` - Minor version (1.0.0 → 1.1.0)
- `npm run version:major` - Major version (1.0.0 → 2.0.0)