open-index/open-npm huggingface dataset:
npm package: @pigsfinance/eslint-config-pigsfinance
Description: Eslint config for Pigsfinance
Author: spicytoast
Latest version: 1.1.7

# eslint-config-pigsfinance

Pigsfinance Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @pigsfinance/eslint-config-pigsfinance
```

Add `"extends": "@pigsfinance/eslint-config-pigsfinance"` to your eslint config file.
npm package: @pigsfinance/sdk
Description: 🛠 An SDK for building applications on top of Pigsfinance.
Latest version: 2.4.5

# Pigsfinance 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/pigsfinance/pigsfinance-sdk.git
```

Move into the pigsfinance-sdk working directory

```sh
cd pigsfinance-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: @pigsfinance/token-lists
Description: This repo contains main Pigsfinance token list and tools to validate it.
Latest version: 1.1.6

# Pigsfinance Token Lists

This repo contains main Pigsfinance token list and tools to validate it.

## How to add external lists

URLs to external lists are stored in `token-lists.json`, if you want your list to be available on upcoming list UI page - submit a PR modifying `token-lists.json`.

## How to add new lists within this repository

- Add an array of tokens under `src/tokens`
- Add `checksum:newlistname`, `generate:newlistname`, `makelist:newlistname` command to `package.json` analogous to Pigsfinance default and extended list scripts.
- Modify `checksum.ts`, `buildList.ts`, `ci-check.ts`, and `default.test.ts` to handle new list

## How to add new tokens to Pigsfinance (extended) token list

Note - this is not something we expect pull requests for.  
Unless you've been specifically asked by someone from PCS team please do no submit PRs to be listed on default PCS list. You can still trade your tokens on PCS exchange by pasting your address into the token field.

- Add new tokens to `src/tokens/pigsfinance-extended.json` file
- Run `yarn makelist:pcs-extended`
  - By default new list will have patch version number bumped by 1 (e.g. `2.0.1` -> `2.0.2`).
  - If you want to bump minor version add `minor` after makelist command `yarn makelist:pcs-extended minor`
  - If you want to bump major version add `major` after makelist command `yarn makelist:pcs-extended major`
- If tests pass - new token list will be created under `lists` directory

For list to be considered valid it need to satisfy the following criteria:

- It passes [token list schema](https://github.com/Uniswap/token-lists/blob/master/src/tokenlist.schema.json) validation (schema is [slightly modified](src/schema.ts))
- There are no duplicate addresses, symbols or token names in the list
- All addresses are valid and checksummed (`yarn checksum:pcs` automatically converts addresses to checksummed versions, it is also part of `yarn makelist:pcs`)

## How to update Top100 Token list

Note - this is not something we expect pull requests for.

```shell script
# Fetch the Top100 Tokens on Pigsfinance v2, and update list.
$ yarn fetch:pcs-top-100

# Build token list (pigsfinance-top-100.json)
$ yarn makelist:pcs-top-100
```

## Deploying

Token lists will be auto-deployed via netlify when PR is merged to master. Be sure to build the list with `yarn makelist:list-name` before submitting/merging the PR since it doesn't make much sense building lists within Netlify (because most errors are related to wrong token information and should be fixed prior to landing into master)

Netlify simply takes the json files under `lists` directory and hosts them on `tokens.pigsfinance.finance/list-name.json`
npm package: @pigsfinance/uikit
Description: Set of UI components for pigsfinance projects
Latest version: 0.3.1

# Pigsfinance UIkit

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

## Install

`yarn add @pigsfinance/uikit`

## Setup

### Theme

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

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

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pigsfinance/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.
npm package: @pigsfinance/uni-sdk
Description: 🛠 An SDK for building applications on top of Uniswap.
Latest version: 1.0.0

# 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: @pigskin/crud-npm
Description: A React TypeScript component library with enhanced Button component
Author: pigskin
Latest version: 1.0.3

# React TypeScript Ant Design Pro 组件库

这是一个基于 React、TypeScript、Ant Design 和 Ant Design Pro 的 npm 组件库项目。

## 特性

- 🚀 基于 React 18 和 TypeScript 4
- 📦 使用 Ant Design 和 Ant Design Pro 组件
- 🛠️ 使用 webpack 5 构建
- 🎨 支持 CSS 模块化
- ✨ ESLint 和 Prettier 代码规范
- 📝 完整的类型定义

## 安装

```bash
# 使用 npm
npm install your-package-name

# 使用 yarn
yarn add your-package-name

# 使用 pnpm
pnpm add your-package-name
```

## 使用方法

```tsx
import { YourComponent } from 'your-package-name';

const App = () => {
  return <YourComponent />;
};
```

## 开发

```bash
# 安装依赖
pnpm install

# 开发模式
pnpm dev

# 构建
pnpm build

# 测试
pnpm test

# 代码检查
pnpm lint
```

## 项目结构

```
├── src/                # 源代码目录
│   ├── components/     # 组件目录
│   ├── hooks/         # 自定义 Hook
│   ├── utils/         # 工具函数
│   └── index.tsx      # 入口文件
├── dist/              # 构建输出目录
├── test/              # 测试文件目录
├── .eslintrc.json     # ESLint 配置
├── .prettierrc        # Prettier 配置
├── tsconfig.json      # TypeScript 配置
├── webpack.config.js  # webpack 配置
└── package.json       # 项目配置文件
```

## 开发规范

1. 组件开发
   - 使用 TypeScript 编写所有组件
   - 为所有 props 添加类型定义
   - 编写详细的组件文档和示例

2. 代码风格
   - 遵循 ESLint 规则
   - 使用 Prettier 格式化代码
   - 遵循 React Hooks 的使用规则

3. 提交规范
   - feat: 新功能
   - fix: 修复问题
   - docs: 文档修改
   - style: 代码格式修改
   - refactor: 代码重构
   - test: 测试用例修改
   - chore: 其他修改

## 许可证

MIT
npm package: @pigswap/sdk
Description: 🛠 An SDK for building applications on top of Pigswap.
Latest version: 1.0.0-alpha.2

# Pigswap 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/pancakeswap/pancakeswap-sdk/workflows/CI/badge.svg)](https://github.com/pancakeswap/pancakeswap-sdk)
[![npm version](https://img.shields.io/npm/v/@pancakeswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@pancakeswap-lib/sdk/v/latest)

## 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: @pigswap/uikit
Description: Set of UI components for pig projects
Latest version: 0.1.0-alpha.1

# 🥞 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: @pigzbe/react-native-stellar-sdk
Description: Stellar SDK for React Native
Author: Ian McGregor
Latest version: 1.2.0

# react-native-stellar-sdk

[![npm version](https://badge.fury.io/js/%40pigzbe%2Freact-native-stellar-sdk.svg)](https://badge.fury.io/js/%40pigzbe%2Freact-native-stellar-sdk)

This package polyfills the [stellar-sdk](https://github.com/stellar/js-stellar-sdk) for React Native.

It includes native randomBytes for iOS and Android via [react-native-randombytes](https://github.com/mvayngrib/react-native-randombytes).

Due to the asynchronous nature of React Native's native bridge, this package adds a new asynchronous method to the Stellar Keypair utility `randomAsync` which returns a promise that resolves to the new randomly generated Keypair.

## Installation

```shell
yarn add @pigzbe/react-native-stellar-sdk
```

Link native randomBytes module:

```shell
react-native link react-native-randombytes
```

## Usage

```javascript
import { Keypair } from '@pigzbe/react-native-stellar-sdk'

const keypair = await Keypair.randomAsync()
const publicKey = keypair.publicKey()
const secretKey = keypair.secret()
```
npm package: @pigzbe/stellar-utils
Description: A collection of utilities for working with stellar
Author: Ian McGregor
Latest version: 1.4.0

# stellar-utils

[![CircleCI](https://circleci.com/gh/pigzbe/stellar-utils.svg?style=svg)](https://circleci.com/gh/pigzbe/stellar-utils)

A collection of utilities for working with [stellar](https://stellar.org).

## Installation

```bash
yarn add @pigzbe/stellar-utils
```

## React native

Link native randomBytes module:

```bash
react-native link react-native-randombytes
```