open-index/open-npm huggingface dataset:
npm package: @luckymore/icons
Description: miui icons
Latest version: 1.2.4

# miui Icons

## Install

#### NPM

```shell
npm i @miui/icons -S --registry=http://registry.npm.pt.mi.com
```

#### YARN

```shell
yarn add @miui/icons
```

## Document

- [Usage in Vue](https://micode.be.xiaomi.com/zhangningning/miui-icon/README.md)
- [Usage in Weapp](https://micode.be.xiaomi.com/zhangningning/miui-icon/README.md)

## Contribution

### Update Icons

1. Update assets/icons.sketch
2. Make a Pull Request

### Add New Icon

1. Add new icon to assets/icons.sketch
2. Add icon name to src/config.js
3. Make a Pull Request
npm package: @luckysavings/pt-v5-autotasks-library
Description: Library of shared utils to run PoolTogether v5 hyperstructure autotasks.
Author: LuckySavings
Latest version: 1.0.10

<p align="center">
  <img src="https://raw.githubusercontent.com/GenerationSoftware/pt-v5-utils-js/main/img/pooltogether-logo--purple@2x.png?raw=true" alt="PoolTogether Brand" style="max-width:100%;" width="300">
</p>

<br />

# 🤖 PoolTogether V5

### @generationsoftware/pt-v5-autotasks-library

PoolTogether hyperstructure (v5) supporting functions for the bots.

## Install

```
npm install @generationsoftware/pt-v5-autotasks-library
```

## Usage

These bots rely on a cron service for submitting transactions on a schedule. You can use any of the following repos as examples if you would rather use OpenZeppelin Defender, your own server, etc. or some other cronjob/tx relaying platform:

1. [PoolTogether Liquidator GitHub action bot example](https://github.com/GenerationSoftware/pt-v5-liquidator-gh-action-bot)
2. [PoolTogether Prize Claimer GitHub action bot example](https://github.com/GenerationSoftware/pt-v5-prize-claimer-gh-action-bot)
3. [PoolTogether Draw Auction GitHub action bot example](https://github.com/GenerationSoftware/pt-v5-draw-auction-gh-action-bot)
npm package: @luckyspot-libs/eslint-config
Description: Eslint config for LuckySpot
Author: RabbitDoge
Latest version: 1.0.0

# eslint-config-ptlk

Pancake Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @potluck-libs/eslint-config-ptlk
```

Add `"extends": "@potluck-libs/eslint-config-ptlk"` to your eslint config file.
npm package: @luckyspot-libs/sdk
Description: 🛠 An SDK for building applications on top of LuckySpot.
Latest version: 1.0.0

# 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: @luckyspot-libs/uikit
Description: Set of UI components for LuckySpot projects
Latest version: 1.0.0

# Potluck UIkit

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

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

## Install

`yarn add @potluck-libs/uikit`

## Setup

### Theme

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

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

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@potluck-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://potluck.github.io/potluck-uikit/)
npm package: @luckyswap/v2-sdk
Description: 🛠 An SDK for building applications on top of luckyswap.
Latest version: 1.2.1

# Luckyswap 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/luckyswap/luckyswap-v2-core.git
```

Move into the luckyswap-libs working directory

```sh
cd luckyswap-libs/
```

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: @luckyxts/my_common_utils
Description: a common api library
Author: xts
Latest version: 1.0.3

# common_utils
a common utils api store

# tech overview
## project construction
### esbuild
### jest
### eslint
### commitlint husky
### log conventional-changelog



# Problem summary

(1) esbuild not support out .d files use tsc build emitDeclarationOnly generate .d files

(2) esbuild not support path entry
npm package: @luclu7/authorizer-react
Description: Authorizer React SDK allows you to implement authentication in your [React](https://reactjs.org/) application quickly. It also allows you to access the user profile.
Author: Lakhan Samani
Latest version: 1.1.1-5.2

# authorizer-react

Authorizer React SDK allows you to implement authentication in your [React](https://reactjs.org/) application quickly. It also allows you to access the user profile.

Here is a quick guide on getting started with `@authorizerdev/authorizer-react` package.

## Code Sandbox Demo: https://codesandbox.io/s/authorizer-demo-qgjpw

## Step 1 - Create Instance

Get Authorizer URL by instantiating [Authorizer instance](/deployment) and configuring it with necessary [environment variables](/core/env).

## Step 2 - Install package

Install `@authorizerdev/authorizer-react` library

```sh
npm i --save @authorizerdev/authorizer-react
OR
yarn add @authorizerdev/authorizer-react
```

## Step 3 - Configure Provider and use Authorizer Components

Authorizer comes with [react context](https://reactjs.org/docs/context.html) which serves as `Provider` component for the application

```jsx
import {
  AuthorizerProvider,
  Authorizer,
  useAuthorizer,
} from '@authorizerdev/authorizer-react';

const App = () => {
  return (
    <AuthorizerProvider
      config={{
        authorizerURL: 'http://localhost:8080',
        redirectURL: window.location.origin,
        clientID: 'YOUR_CLIENT_ID',
      }}
    >
      <LoginSignup />
      <Profile />
    </AuthorizerProvider>
  );
};

const LoginSignup = () => {
  return <Authorizer />;
};

const Profile = () => {
  const { user } = useAuthorizer();

  if (user) {
    return <div>{user.email}</div>;
  }

  return null;
};
```

## Commands

### Local Development

The recommended workflow is to run authorizer in one terminal:

```bash
npm start # or yarn start
```

This builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.

Then run either Storybook or the example playground:

### Example

Then run the example inside another:

```bash
cd example
npm i # or yarn to install dependencies
npm start # or yarn start
```

The default example imports and live reloads whatever is in `/dist`, so if you are seeing an out of date component, make sure TSDX is running in watch mode like we recommend above. **No symlinking required**, we use [Parcel's aliasing](https://parceljs.org/module_resolution.html#aliases).

To do a one-off build, use `npm run build` or `yarn build`.

To run tests, use `npm test` or `yarn test`.

## Configuration

Code quality is set up for you with `prettier`, `husky`, and `lint-staged`. Adjust the respective fields in `package.json` accordingly.

### Jest

Jest tests are set up to run with `npm test` or `yarn test`.

### Bundle analysis

Calculates the real cost of your library using [size-limit](https://github.com/ai/size-limit) with `npm run size` and visulize it with `npm run analyze`.
npm package: @lucnd96/react-intersection-observable
Description: This package help developers easy to using native  [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver) API  ## **Install** - npm: ```shell npm install @lucnd96/react-intersection-observable ``` - yarn: ```s
Author: lucnd96
Latest version: 0.0.8

# **React intersection observable**
## **Description**
This package help developers easy to using native  [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver) API 
## **Install**
- npm:
```shell
npm install @lucnd96/react-intersection-observable
```
- yarn:
```shell
yarn add @lucnd96/react-intersection-observable
```
## *Usage*
### Component `IntersectionObservable`
```tsx
import { IntersectionObservable, IntersectionObservableCallback } from "@lucnd96/react-intersection-observable";
const ComponentExample: React.ComponentType = () => {
  const onChange: IntersectionObservableCallback = (args) => {
    // eslint-disable-next-line @typescript-eslint/no-unused-vars
    const { entry, entries, observer } = args;
  };
  return (
    <div>
      <IntersectionObservable
        visibleClassName="visible-class"
        hiddenClassName="hidden-class"
        onChange={onChange}
      >
        <div>Test content</div>
      </IntersectionObservable>
    </div>
  );
};
```
**`IntersectionObservable` props:**
- `visibleClassName?: string`; class name when visible in view
- `hiddenClassName?: string`; class name when hidden in view
- `options?: IntersectionObserverInit`: options pass into `new IntersectionObserver` [options](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver#options)
- `onChange?: IntersectionObservableCallback`: call back call on change

### Hook `useIntersectionObservable`
```tsx
import { useIntersectionObservable } from "@lucnd96/react-intersection-observable";

const HookExample: React.ComponentType = () => {
  const {
    ref, entry, observer, isVisible,
  } = useIntersectionObservable<HTMLHeadingElement>();

  useEffect(() => {
    // Do anything when entry change or observer change
  }, [entry, observer]);

  return (
    <div>
      <h1
        ref={ref}
        className={isVisible ? "visible-class" : "hidden-class"}
      >
        Test component
      </h1>
    </div>
  );
};
```
**`useIntersectionObservable` args**
- `options?: IntersectionObserverInit`: options pass into `new IntersectionObserver` [options](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver#options)
npm package: @luco-inc/pnpm-license-exporter
Description: Dependencies license exporter for projects using pnpm.
Latest version: 3.2.0

# pnpm-license-exporter

![License](https://img.shields.io/npm/l/@luco-inc/pnpm-license-exporter?style=for-the-badge)
![Version](https://img.shields.io/npm/v/@luco-inc/pnpm-license-exporter?color=blue&label=Version&logo=npm&style=for-the-badge)

Dependencies license exporter for projects using pnpm.

Internally using the `pnpm licenses list` command to get the licenses of the dependencies.


## Requirements

- Node.js 20.0.0 or higher (tested on 20.12.2, experimental support for 18.3.0 or higher)
  - Internally using [`parseArgs`](https://nodejs.org/api/util.html#utilparseargsconfig) which is available since Node.js 18.3.0
- pnpm 6.0.0 or higher (tested on 6.14.4)
  - CAN NOT use yarn and npm

## Usage

```bash
pnpm install -D @luco-inc/pnpm-license-exporter

pnpm-license-exporter [options]
```

or 

```bash
pnpm dlx @luco-inc/pnpm-license-exporter [options]
```


## CLI Usage
Export only directly & production dependencies: `pnpm-license-exporter`
Export all production dependencies: `pnpm-license-exporter --recursive` <-- Recommended
Export all dependencies: `pnpm-license-exporter --recursive --dev`

## Options
| Arg             | Description                      | Type           | Default         |
|-----------------|----------------------------------|----------------|-----------------|
| -o, --output    | Output folder for the exports.   | [string]       | ./licenses.json |
| -p, --pretty    | Prettify the json output.        | flag/[boolean] | false           |
| -r, --recursive | Include all subDependencies      | flag/[boolean] | false           |
| -d, --dev       | Include dev dependencies.        | flag/[boolean] | false           |
| --no-prod       | Exclude production dependencies. | flag/[boolean] | false           |
| --no-optional   | Exclude optional dependencies.   | flag/[boolean] | false           |
npm package: @lucoadam1/aptos-swap-sdk
Description: 🛠 An SDK for building applications on top of Pancakeswap Aptos.
Latest version: 1.0.1

# PancakeSwap Aptos Swap SDK

You can refer to the Uniswap SDK documentation [uniswap.org](https://docs.uniswap.org/sdk/2.0.0/).
npm package: @lucoadam1/awgmi
Description: Connect to Aptos with similar [wagmi](https://github.com/wagmi-dev/wagmi) React hooks.
Latest version: 0.2.1

# @lucoadam1/awgmi

Connect to Aptos with similar [wagmi](https://github.com/wagmi-dev/wagmi) React hooks.

Support Aptos Wallet Connectors:
- Petra
- Martian
- Pontem
- Fewcha
- SafePal
- Trust Wallet


```jsx
import {
  createClient,
  AwgmiConfig,
  useConnect,
  getDefaultProviders,
  defaultChains,
} from '@lucoadam1/awgmi';
import { PetraConnector } from '@lucoadam1/awgmi/connectors/petra'
import { MartianConnector } from '@lucoadam1/awgmi/connectors/martain'
import { SafePalConnector } from '@lucoadam1/awgmi/connectors/safePal'
import { BloctoConnector } from '@lucoadam1/awgmi/connectors/blocto'
import { FewchaConnector } from '@lucoadam1/awgmi/connectors/fewcha'

 // import { mainnet, testnet } from '@lucoadam1/awgmi/core'
const chains = defaultChains // mainnet, testnet, devnet

export const client = createClient({
  connectors: [
    new PetraConnector({ chains }),
    new MartianConnector({ chains }),
    new PetraConnector({ chains, options: { name: 'Trust Wallet', id: 'trustWallet' } }),
    new SafePalConnector({ chains }),
    new BloctoConnector({ chains, options: { appId: BLOCTO_APP_ID } }),
    new FewchaConnector({ chains }),
  ],
  provider: getDefaultProviders,
  autoConnect: true,
});


function App() {
  return (
    <AwgmiConfig client={client}>
      <YourApp />
    </AwgmiConfig>
  )
}
```


## Connector
```jsx
import { useConnect, useDisconnect } from '@lucoadam1/awgmi'

function ConnectButton() {
  const { connect, connectors } = useConnect()

  return (
    <div>
      {connectors.map((connector) => (
        <button type="button" key={connector.id} onClick={() => connect({ connector, networkName: 'mainnet' })}>
          {connector.name}
        </button>
      ))}
    </div>
  )
}
```


## Hooks
```jsx
import {
  useAccountBalance,
  useAccountBalances,
  useAccountResource,
  useAccountResources,
  useCoin,
  useCoins,
  useNetwork,
  useSendTransaction,
  useSimulateTransaction,
  useTableItem,
} from '@lucoadam1/awgmi'
```

### Balance
```js
const { data } = useAccountBalance({
  address: Address,
  coin: '0x1::aptos_coin::AptosCoin',
  watch: true
})
```

### Send Transaction
```js
import { UserRejectedRequestError } from '@lucoadam1/awgmi'

const { sendTransactionAsync } = useSendTransaction()

sendTransactionAsync({
  payload: {
    type: 'entry_function_payload',
    function: '<address>::message::set_message',
    arguments: ['are we gonna make it?'],
    type_arguments: [],
  },
}).catch(err => {
  if (err instanceof UserRejectedRequestError) {
    // handle user reject
  }
  // handle transaction error
})
```
npm package: @lucoadam1/eslint-config-pancake
Description: Eslint config for PancakeSwap
Author: RabbitDoge
Latest version: 1.2.0

# eslint-config-pancake

Pancake Eslint config with:

- Airbnb config
- Typescript
- Prettier

## Usage

```
npx install-peerdeps --dev @lucoadam1/eslint-config-pancake
```

Add `"extends": "@lucoadam1/eslint-config-pancake"` to your eslint config file.