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

# LibraFinance 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)

Fork from

- https://github.com/pancakeswap/pancakeswap-sdk and
- https://github.com/SpookySwap/spookyswap-sdk

## 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/librafinance-xyz/libra-sdk.git
```

Move into the libra-sdk working directory

```sh
cd libra-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: @libra_swap/sdk
Description: 🛠 An SDK for building applications on top of LibraSwap.
Latest version: 1.0.9

# Pancakeswap 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: @libra_swap/uikit
Description: Set of UI components for pancake projects
Latest version: 1.0.20

# 🥞 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: @libradinesh/npm-counter-package
Description: A simple React counter component
Author: Your Name
Latest version: 1.0.10

# React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
npm package: @librafinance-xyz/sdk
Description: 🛠 An SDK for building applications on top of librafinance.
Latest version: 1.2.1

# LibraFinance 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)

Fork from

- https://github.com/pancakeswap/pancakeswap-sdk and
- https://github.com/SpookySwap/spookyswap-sdk

## 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/librafinance-xyz/libra-sdk.git
```

Move into the libra-sdk working directory

```sh
cd libra-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: @libralinknetwork/libralink-client-web3js
Description: ``` npm login npm whoami
Latest version: 1.6.0

# Libralink Protocol v1 - Java Implementation (Web3 / Typescript)

[![CircleCI](https://dl.circleci.com/status-badge/img/circleci/3mRSbP89jqQQqkK78hQhCE/8S6oYFx2Sgf9ARQgq3C6nv/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/circleci/3mRSbP89jqQQqkK78hQhCE/8S6oYFx2Sgf9ARQgq3C6nv/tree/main)

![CodeQL](https://github.com/libralinknetwork/libralink-client-web3js/actions/workflows/codeql.yml/badge.svg)

Check https://github.com/libralinknetwork/libralink-protocol for details

## Testing
```
npm test
```

## Release
```
npm login

tsc
npm pack
npm publish
```

## Installing as a dependency
```
npm i @libralinknetwork/libralink-client-web3js
```
npm package: @library-api/core
Description: Core tools for use with @library-api packages.
Author: BenShelton
Latest version: 0.11.0

<h1 align="center">
  Library Core
</h1>

<p align="center">
  <a href="https://www.npmjs.com/package/@library-api/core">
    <img src="https://img.shields.io/npm/v/@library-api/core" alt="NPM Version">
  </a>
  <a href="https://www.npmjs.com/package/@library-api/core">
    <img src="https://img.shields.io/bundlephobia/min/@library-api/core" alt="Package Size">
  </a>
</p>

<p align="center">
  Core tools for use with other Library API packages.
<p>

<br>

## Description

These can also be used to build your own app based on this API.

This package is brought to you by [Library API](../../README.md).

## Installing

Please note that core tools are built to run on a Node environment as it requires a filesystem to store downloaded files.

You can install with your preferred package manager:

```bash
# NPM
npm install @library-api/core

# Yarn
yarn add @library-api/core
```

## Documentation

View the documentation [here](https://benshelton.github.io/library-api/core/)

## Development

Run the following commands to get started. If you are running from the root directory you can add `media` to run these (for example `yarn core build` instead of just `yarn build`):

```bash
# Build (outputs to /dist)
yarn build

# Lint files
yarn lint

# Run test suite
yarn test

# Run Type Checking Service
yarn tsc
```
npm package: @library-front/shishi
Description: 基于 Vue3.x + ElementPlus 的组件库
Latest version: 0.0.9

# @dongdong-components/shishi

## Install

```bash
npm i @dongdong-components/shishi
# or
yarn add @dongdong-components/shishi
```

## Usage

```vue
<template>
 <oa-shishi/>
</template>

<script lang="ts">
import { defineComponent, toRefs } from 'vue'
import OaShishi from '@dongdong-components/shishi'

export default defineComponent({
  components: { OaShishi },
  setup() {}
})
</script>
```
npm package: @library/color
Description: ## Installation
Latest version: 0.0.5

# @library/color

## Installation

**npm**

```console
npm install @library/color
```

**yarn**

```console
yarn add @library/color
```

## API

- [hexToRgb](#hextorgb)

### hexToRgb

Convert a hexadecimal color code to its corresponding RGBA representation.

```ts
import { hexToRgb } from "@library/color";

hexToRgb("#f00"); // { r: 255, g: 0, b: 0, a: 1 }
hexToRgb("#f000"); // { r: 255, g: 0, b: 0, a: 0 }
hexToRgb("#7f11e0"); // { r: 127, g: 17, b: 224, a: 1 }
hexToRgb("#11223344"); // { r: 17, g: 34, b: 51, a: 0.27 }
```
npm package: @librax/eslint-config-librax
Description: Eslint config for LibraX
Author: RabbitDoge
Latest version: 1.3.2

# eslint-config-librax

LibraX Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

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

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

# LibraX 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/libraxfinance/librax-sdk.git
```

Move into the librax-sdk working directory

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

# LibraX Token Lists

This repo contains main LibraX 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 LibraX 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 LibraX (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/librax-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 LibraX v2, and update list.
$ yarn fetch:pcs-top-100

# Build token list (pancakeswap-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.pancakeswap.finance/list-name.json`
npm package: @librax/uikit
Description: Set of UI components for LibraX projects
Latest version: 0.1.2

# 🌟 LibraX UIkit

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

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

## Install

`yarn add @librax/uikit`


## Setup

### Theme

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

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

### Reset

A reset CSS is available as a global styled component.

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

### Types

This project is built with Typescript and export all the relevant types.
npm package: @libraxftm/eslint-config-librax
Description: Eslint config for LibraX
Author: RabbitDoge
Latest version: 1.2.4

# eslint-config-librax

LibraX Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @libraxftm/eslint-config-librax
```

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

# LibraX 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/libraxfinance/ftmtest-librax-sdk.git
```

Move into the ftmtest-librax-sdk working directory

```sh
cd ftmtest-librax-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: @libraxftm/token-lists
Description: This repo contains main LibraX token list and tools to validate it.
Latest version: 0.0.5

# LibraX Token Lists

This repo contains main LibraX 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 LibraX 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 LibraX (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/librax-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 LibraX v2, and update list.
$ yarn fetch:pcs-top-100

# Build token list (pancakeswap-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.pancakeswap.finance/list-name.json`
npm package: @libraxftm/uikit
Description: Set of UI components for LibraX projects
Latest version: 0.0.21

# 🌟 LibraX UIkit

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

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

## Install

`yarn add @libraxftm/uikit`


## Setup

### Theme

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

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

### Reset

A reset CSS is available as a global styled component.

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

### Types

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