open-index/open-npm huggingface dataset:
npm package: @jackca/rainbowkit
Description: The best way to connect a wallet
Author: Rainbow
Latest version: 0.5.0

<a href="https://rainbowkit.com">
  <img alt="rainbowkit" src="https://user-images.githubusercontent.com/372831/168174718-685980e0-391e-4621-94a1-29bf83979fa5.png" />
</a>

# RainbowKit

**The best way to connect a wallet 🌈**

RainbowKit is a [React](https://reactjs.org/) library that makes it easy to add wallet connection to your dapp.

- 🔥 Out-of-the-box wallet management
- ✅ Easily customizable
- 🦄 Built on top of [wagmi](https://github.com/tmm/wagmi) and [ethers](https://docs.ethers.io)

## Quick start

You can scaffold a new RainbowKit + [wagmi](https://wagmi.sh) + [Next.js](https://nextjs.org) app with one of the following commands, using your package manager of choice:

```bash
npm init @rainbow-me/rainbowkit@latest
# or
yarn create @rainbow-me/rainbowkit@latest
# or
pnpm create @rainbow-me/rainbowkit@latest
```

## Documentation

For full documentation, visit [rainbowkit.com](https://rainbowkit.com).

### Try it out

You can use the CodeSandbox links below try out RainbowKit:

- with [Create React App](https://codesandbox.io/s/rainbowkit-create-react-app-1vwx1r)
- with [Create React App (TypeScript)](https://codesandbox.io/s/rainbowkit-create-typescript-app-xuxnqy)
- with [Next.js](https://codesandbox.io/s/rainbowkit-nextjs-gz890p)

## Examples

The following examples are provided in the [examples](./examples/) folder of this repo.

- `with-create-react-app`
- `with-next`
- `with-next-custom-button`
- `with-next-mint-nft`
- `with-next-siwe-next-auth`
- `with-next-siwe-iron-session`
- `with-remix`

### Running examples

To run an example locally, install dependencies.

```bash
pnpm install
```

Then go into an example directory, eg: `with-next`.

```bash
cd examples/with-next
```

Then run the dev script.

```bash
pnpm run dev
```

## Contributing

Please follow our [contributing guidelines](./.github/CONTRIBUTING.md).

## License

Licensed under the MIT License, Copyright © 2022-present [Rainbow](https://rainbow.me).

See [LICENSE](./LICENSE) for more information.
npm package: @jackca/yoga-wasm-web
Description: [Yoga](https://github.com/facebook/yoga) but in WebAssembly. This is an **opinionated** fork from [pinqy520/yoga-layout-wasm](https://github.com/pinqy520/yoga-layout-wasm) with the following changes:
Latest version: 0.1.3-internal

# yoga-wasm-web

[Yoga](https://github.com/facebook/yoga) but in WebAssembly. This is an **opinionated** fork from [pinqy520/yoga-layout-wasm](https://github.com/pinqy520/yoga-layout-wasm) with the following changes:

- Stick to bdc37b07971b645718d2d7400afa19d47056ef0f of Yoga that matches the `yoga-layout-prebuilt` package.
- Fix missing `YGMeasureMode` binding.
- Fix missing `YGUnit` binding.
- Set flag `DYNAMIC_EXECUTION=0` for `emcc` to remove `eval` and `Function` executions.
- Set flag `TEXTDECODER=0`.
- Force the `ENVIRONMENT` to be `web`.
- Add `pre.js` to set `document` as `this`.
- Replace Rollup with esbuild for bundling.
- Remove the asm.js build.
- Enable LTO.
- Enable SIMD128.
npm package: @jackcannon/ts-to-jsdoc
Description: Transpile TypeScript code to fully compatible JavaScript + JSDoc comments.
Author: futurGH
Latest version: 1.3.3

# TypeScript to JSDoc
Transpile TypeScript code annotated with JSDoc to fully compatible JavaScript code, preserving your documentation.

## Usage

### Command Line

```shell
$ ts-to-jsdoc

Usage:
  ts-to-jsdoc [options] <path>...

Options:
  -h --help          Shows this.
  -o --out --output  Directory to output transpiled JavaScript. [default: source path]
  -i --ignore        File or directory paths to ignore when transpiling.
  -f --force         Overwrite existing output files.
```

### Node.js

```javascript
const transpile = require("ts-to-jsdoc");
// or
import transpile from "ts-to-jsdoc";

const code = `
/**
 * Does stuff.
 * @param param It's a parameter.
 */
function doStuff(param: string): number {}
`;

const transpiledCode = transpile(code);
// Output:
// /**
//  * Does stuff.
//  * @param {string} param It's a parameter.
//  * @returns {number}
//  */
// function doStuff(param) {}
```

## License
[MIT](LICENSE) © [futurGH](https://github.com/futurGH).
npm package: @jackcarey/astro-filter-content
Description: Astro components to enable DOM filtering of content within a page.
Author: Jack Carey
Latest version: 0.0.7

# astro-filter-content

Adds 3 components for client-side DOM filtering of page content.

These components are for adding CSS styles to the head of a document, control `input`s, and an inline component.

## Installation

```
npm i @jackcarey/astro-filter-content
```

## Usage

### 1. Astro Config

Inside `src/config.ts` add:

```
export const FILTER_OPTIONS = {
	label: "Levels",
	prefix: "Level",
	multiple: false,
	items: ["foo","bar","fizz"]
};
```

Where the following options can be changed:

- **label** - The plural label of your filter items.
- **prefix** - Optional. The singular label for your items that will be prefixed before each list entry.
- **multiple** - Boolean. Whether multiple items can be selected or not.
- **items** - An ordered array of strings for each item a user can filter against.

### 2. Document `<head>`

In the frontmatter of the layout, add:

```
import FilterContentHead from "@jackcarey/astro-filter-content";
```

Before the closing head tag, add:

```
<FilterContentHead/>
```

This adds the necessary styles and scripts for filtering the DOM.

### 3. Filter Controls

Add the snippet below where you would like your filter controls to appear. A useful location might be in a sidebar or next to a dark mode button.

In frontmatter:
```
import FilterContentControl from "@jackcarey/astro-filter-content/>"
```

In HTML document/layout content:
```
<FilterContentControl/>
```

### 4. Filtering Content

In the frontmatter of the layout, add:
```
import FilterContent from "@jackcarey/astro-filter-content";
```

Where you would like content to be filterable, wrap it in the component:

```
<FilterContent options = "foo">
This is foo content.
<FilterContent/>

<FilterContent options = "bar">
This is bar content.
<FilterContent/>

<FilterContent options = "fizz">
This is fizz content.
<FilterContent/>

<FilterContent options = "bar, foo">
This is bar OR foo content.
<FilterContent/>
```
npm package: @jackcarey/astro-lunr
Description: An Astro integration to generate Lunr search index at build time
Author: Jack Carey
Latest version: 0.0.6

# astro-lunr

Integration for building LunrJS index for Astro websites. Index items include text content underneath each heading tag.

- [Astro](https://astro.build/)
- [Lunr](https://lunrjs.com/)

## Prerequisites

Your Astro site should be set up and there should be no existing file at `/search_index.json` as it will be overwritten.

## Install

You must [enable experimental integrations](https://docs.astro.build/en/guides/integrations-guide/#finding-more-integrations) to use third-party integrations with Astro. After doing this, you can install this integration like any other:

```
npx astro add @jackcarey/astro-lunr
```
or
```
npm i @jackcarey/astro-lunr
```
## Usage

### Index items

Each entry in `search_index.json` contains `loc`, `title`, and `content` properties.

*dist/some-path/index.html*
```
//...
<h2>Foo</h2>
<p>The text underneath the foo heading.</p>
<h2>Bar</h2>
<p>The text underneath the bar heading.</p>
//...
```

*search_index.json*
```
[
    {
        "loc": "/some-path#foo",
        "title": "Foo Heading",
        "content": "The text underneath the foo heading."
    },
    {
        "loc": "/some-path#bar",
        "title": "Bar Heading",
        "content": "The text underneath the bar heading."
    }
]
```

### Configuration

There are three functions you can pass to configure the index. Each function must return a boolean for whether or not it is included in the search index.

- **routeFilter** - A regular JavaScript array [filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) that accepts [Astro RouteData](https://docs.astro.build/en/reference/integrations-reference/#routes-option) as input. 
- **resultFilter** - A regular JavaScript array [filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) that accepts index items as input.
- **headingFilter** - Uses a [Cheerio filter](https://cheerio.js.org/classes/Cheerio.html#filter) against each heading tag.
- **contentFilter** - Uses a [Cheerio filter](https://cheerio.js.org/classes/Cheerio.html#filter) against the content below each heading.

### Client-side

This package doesn't provide a component yet, so use the [LunrJS documentation](https://lunrjs.com/guides/getting_started.html) to integrate a search input into your site.