open-index/open-npm huggingface dataset:
npm package: @rainbow-d9/code-editor
Description: o23 wysiwyg editor
Author: Rainbow Team
Latest version: 1.2.37

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![License](https://img.shields.io/github/license/InsureMO/rainbow-d9)
![GitHub Release](https://img.shields.io/github/v/release/InsureMO/rainbow-d9)
![GitHub Release Date](https://img.shields.io/github/release-date/InsureMO/rainbow-d9)
![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/InsureMO/rainbow-d9)

![npm (scoped)](https://img.shields.io/npm/v/%40rainbow-d9/n1?logo=npm)
![npm](https://img.shields.io/npm/dm/%40rainbow-d9/n1)

![Depends](https://img.shields.io/badge/React-white.svg?logo=react)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs%2C%20esm-green.svg)

# d9-code-editor

Base code editor widget, with Javascript and Typescript code editors.

# Idea

[d9](https://github.com/InsureMO/rainbow-d9)
npm package: @rainbow-d9/n5
Description: d9 wysiwyg editor
Author: Rainbow Team
Latest version: 1.2.37

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![License](https://img.shields.io/github/license/InsureMO/rainbow-d9)
![GitHub Release](https://img.shields.io/github/v/release/InsureMO/rainbow-d9)
![GitHub Release Date](https://img.shields.io/github/release-date/InsureMO/rainbow-d9)
![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/InsureMO/rainbow-d9)

![npm (scoped)](https://img.shields.io/npm/v/%40rainbow-d9/n1?logo=npm)
![npm](https://img.shields.io/npm/dm/%40rainbow-d9/n1)

![Depends](https://img.shields.io/badge/React-white.svg?logo=react)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs%2C%20esm-green.svg)

# d9-n5

It is the No.5 project of group `d9`.  
This project is WYSIWYG playground.

# Idea

[d9](https://github.com/InsureMO/rainbow-d9)
npm package: @rainbow-d9/n6
Description: o23 wysiwyg editor
Author: Rainbow Team
Latest version: 1.2.37

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![License](https://img.shields.io/github/license/InsureMO/rainbow-d9)
![GitHub Release](https://img.shields.io/github/v/release/InsureMO/rainbow-d9)
![GitHub Release Date](https://img.shields.io/github/release-date/InsureMO/rainbow-d9)
![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/InsureMO/rainbow-d9)

![npm (scoped)](https://img.shields.io/npm/v/%40rainbow-d9/n1?logo=npm)
![npm](https://img.shields.io/npm/dm/%40rainbow-d9/n1)

![Depends](https://img.shields.io/badge/React-white.svg?logo=react)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs%2C%20esm-green.svg)

# d9-n6

It is the No.6 project of group `d9`.  
This project is WYSIWYG playground for `o23`.

# Idea

[d9](https://github.com/InsureMO/rainbow-d9)
npm package: @rainbow-d9/ts-vfs
Description: typescript vfs for playgrounds, and code mirror support
Author: Rainbow Team
Latest version: 1.2.37

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![License](https://img.shields.io/github/license/InsureMO/rainbow-d9)
![GitHub Release](https://img.shields.io/github/v/release/InsureMO/rainbow-d9)
![GitHub Release Date](https://img.shields.io/github/release-date/InsureMO/rainbow-d9)
![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/InsureMO/rainbow-d9)

![npm (scoped)](https://img.shields.io/npm/v/%40rainbow-d9/n1?logo=npm)
![npm](https://img.shields.io/npm/dm/%40rainbow-d9/n1)

![Depends](https://img.shields.io/badge/React-white.svg?logo=react)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs%2C%20esm-green.svg)

# d9-ts-vfs

Typescript VFS (Virtual File System) for d9, supports code mirror hints, syntax highlighting, completion, etc.

# Idea

[d9](https://github.com/InsureMO/rainbow-d9)
npm package: @rainbow-labs/rainbow-events
Description: Rainbow Events
Author: Lina van der Weg
Latest version: 1.1.1

# Rainbow Events

Simple Typescript Event Emitter implementation


## Example

```typescript
import EventEmitter from '@rainbow-labs/rainbow-events';

class Person extends EventEmitter {

    private name : string;

    constructor(name : string) {
        super();

        this.name = name;
    }


    talk() : void {
        this.emit('talk', 'my', 'name', 'is', this.name);
    }
}


const Lina = new Person('Lina');

lina.on('talk', (...arguments) => {
    console.log(arguments.join(' '));
});

lina.talk();

lina.off('talk');
```
npm package: @rainbow-me/create-rainbowkit
Description: Scaffold a new RainbowKit project
Latest version: 0.3.16

# 🌈🚀 create-rainbowkit

Scaffold a new RainbowKit project.

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

## License

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

See [LICENSE](/LICENSE) for more information.
npm package: @rainbow-me/fee-suggestions
Description: JavaScript library that suggest fees on Ethereum after EIP-1559 using historical data using ethers.js
Author: Bruno Barbieri
Latest version: 2.1.0

# 🔥 EIP-1559 Fee Suggestions 🔥

The function `suggestFees()` is a utility function written in Javascript and it's intended to use with an [ethers.js](https://docs.ethers.io/v5/) provider.
 
It returns an object containing:
- `maxBaseFee` and `maxPriorityFee` suggestions
- `baseFeeTrend` indicator
- `currentBaseFee` which is the current block base fee
- `confirmationTimeByPriorityFee` an object containing estimated times of confirmation by priority fee chosen
- `blocksToConfirmationByPriorityFee` an object containing estimated blocks of wait for a confirmation by priority fee chosen
- `blocksToConfirmationByBaseFee` an object containing estimated blocks of wait for a confirmation by base fee chosen

### Usage

```
import { JsonRpcProvider } from '@ethersproject/providers';
import { suggestFees } from './src';

const main = async() => {
    const provider = new JsonRpcProvider(`https://ropsten.infura.io/v3/${YOUR_API_KEY}`);
    const ret = await suggestFees(provider);
    console.log('Result: ', ret);
}

main();
```

In addition, you can use specific methods to get `maxBaseFee` and `maxPriorityFee` specific data.

```
import { JsonRpcProvider } from '@ethersproject/providers';
import { suggestFees } from './src';

const main = async() => {
    const provider = new JsonRpcProvider(`https://ropsten.infura.io/v3/${YOUR_API_KEY}`);
    const fromBlock = 'latest' // the block that you want to run the estimations from
    const blockCountHistory = 100 // the quantity of blocks you want to take in account for the estimation
    const ret = await suggestMaxBaseFee(provider, fromBlock, blockCountHistory);
    console.log('Result: ', ret);
}

main();
```

```
import { JsonRpcProvider } from '@ethersproject/providers';
import { suggestFees } from './src';

const main = async() => {
    const provider = new JsonRpcProvider(`https://ropsten.infura.io/v3/${YOUR_API_KEY}`);
    const fromBlock = 'latest' // the block that you want to run the estimations from
    const ret = await suggestMaxPriorityFee(provider, fromBlock, blockCountHistory);
    console.log('Result: ', ret);
}

main();
```

### Credits

The `suggestMaxBaseFee` estimations code is 100% based on the work of [@zsfelfoldi](https://github.com/zsfelfoldi) published at https://github.com/zsfelfoldi/feehistory/
npm package: @rainbow-me/provider
Description: [![npm version](https://badge.fury.io/js/@rainbow-me%2Fprovider.svg)](https://www.npmjs.com/package/@rainbow-me/provider) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Latest version: 0.2.0

# Rainbow Provider

[![npm version](https://badge.fury.io/js/@rainbow-me%2Fprovider.svg)](https://www.npmjs.com/package/@rainbow-me/provider)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Ethereum provider implementation used in the Rainbow Extension and Rainbow App Browser.

## Installation

```bash
yarn add @rainbow-me/provider
# or
npm install @rainbow-me/provider
# or
pnpm add @rainbow-me/provider
```

## Usage

```typescript
import { RainbowProvider } from '@rainbow-me/provider';

// Initialize the provider
const provider = new RainbowProvider();

// Use with ethers.js or other web3 libraries
const accounts = await provider.request({
  method: 'eth_accounts',
  params: []
});
```

## Development

```bash
# Match environment
nvm install && nvm use
corepack enable

# Install dependencies
yarn install

# Build the package
yarn build

# Run tests
yarn test

# Type check
yarn typecheck

# Lint
yarn lint
```

## License

MIT © Rainbow
npm package: @rainbow-me/rainbowkit
Description: The best way to connect a wallet
Author: Rainbow
Latest version: 2.2.10

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

# RainbowKit &nbsp; [![Version](https://img.shields.io/npm/v/@rainbow-me/rainbowkit?colorA=1f2937&colorB=3b82f6&labelColor=1f2937)](https://www.npmjs.com/package/@rainbow-me/rainbowkit) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/rainbow-me/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://wagmi.sh) and [viem](https://viem.sh)

## 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
pnpm create @rainbow-me/rainbowkit@latest
# or
yarn create @rainbow-me/rainbowkit
```

## Documentation

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

### Try it out

You can use the CodeSandbox links below to try out RainbowKit:

- with [Create React App](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-create-react-app)
- with [Next.js](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next)
- with [Next.js App Router](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next-app)
- with [Remix](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-remix)
- with [Vite](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-vite)
- with [React Router](https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-react-router)

## Examples

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

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

### 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: @rainbow-n19/n2
Description: Groovy4 AST Parser.
Author: Rainbow Team
Latest version: 0.1.2-alpha.1

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

# n19/n2

# Class Meta

- AnnotatedElement: annotations
- GenericDeclaration: generic types
	- implements: AnnotatedElement
- Member: member of class
- Executable:
	- implements: Member, GenericDeclaration
	- has: Parameter, Exception

- Class
	- implements: AnnotatedElement, GenericDeclaration, Type
	- has: Constructor, Method, Field, Class
	- properties:
		- name
		- simple name
		- superclass
		- interfaces
		- enclosing method
		- enclosing constructor
		- enclosing class
		- declaring class
		- nest host class
		- generic type variables
		- annotations

- Constructor
	- implements: AnnotatedElement, GenericDeclaration, Executable
	- properties:
		- parameters
		- exceptions
		- type variables
		- annotations

- Method
	- implements: AnnotatedElement, GenericDeclaration, Executable
	- has: Return
	- properties:
		- name
		- parameters
		- exceptions
		- return
		- generic type variables
		- annotations

- Parameter
	- implements: AnnotatedElement
	- properties:
		- name
		- modifiers
		- annotations
		- generic type

- Field
	- implements: AnnotatedElement, Member
	- properties:
		- name
		- generic type
		- annotations

# AST
npm package: @rainbow-o23/n4
Description: o23 pipeline parser
Author: Rainbow Team
Latest version: 1.0.60

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs-green.svg)

# o23/n4

`o23/n4` provides the ability to read pipeline and pipeline step configurations, currently supporting the YAML format. While reading the
configuration, o23/n4 simplifies the notation of certain properties and also adds some related validation and script parsing supplements, as
follows:

- For single-line snippet, a prefix `return ` will be automatically added to ensure that data can be returned,
- Automatic conversion between camel case and kebab case property names,
- If a property value starts with `env:`, it will be automatically replaced with the corresponding environment variable value,
- The prefix `env:` supports multiple environment variables, separated by commas, with the first one having a value taking precedence.

When writing YAML configurations, the following syntax rules should also be noted:

- `null` string value will be recognized as a `null` value. If you need to return a `null` value, you can write it as `"null"`
  or `return null`,
- Property values that conform to JSON syntax will be automatically parsed. Therefore, if a value needs to be treated as a snippet, it
  should be enclosed in double quotation marks (""). For example, `{name: $factor.name}` can be written as `"{name: $factor.name}"`,
- Sometimes, we don't want the `return ` prefix to be automatically added before a single-line snippet. In this case, we can use the
  vertical line `|` syntax to avoid this problem. For example, consider this:

  ```yaml
  snippet: $factor.enabled = true
  ```

  If it is written in this way, the return value is `true`. We can instead write it as following:

  ```yaml
  snippet: |
    $factor.enabled = true
  ```

You can find all relevant YAML configuration examples in the `server/02-api-test` folder of `o23/n99`. Since the property names are
self-explanatory, we will not explain the purpose of each property in the following section. You can refer to the documentation of `o23/n3`
for this part.
npm package: @rainbow-o23/n91
Description: o23 print server base
Author: Rainbow Team
Latest version: 1.0.60

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![Nest](https://img.shields.io/badge/nest-white.svg?logo=nestjs&logoColor=E0234E&style=social)
![Puppeteer](https://img.shields.io/badge/Puppeteer-white.svg?logo=puppeteer&logoColor=40B5A4&style=social)
![ExcelJS](https://img.shields.io/badge/ExcelJS-white.svg?logo=microsoftexcel&logoColor=217346&style=social)
![CSV for Node.js](https://img.shields.io/badge/CSV%20for%20Node.js-548694.svg)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs-green.svg)

# o23/n91

`o23/n91` is a web application that provides printing services for `o23/n90`.

### Environment Parameters

| Name                | Type    | Default Value | Comments                     |
|---------------------|---------|---------------|------------------------------|
| `app.plugins.print` | boolean | false         | Import print service or not. |

### Print Service

`o23/n91` has already deployed a printing service by leveraging the pipeline steps provided by `o23/n5` and `o23/n6`. You can find all the
service definitions in `server/03-print`. These services are based on database tables `T_O23_PRINT_TASKS` and `T_O23_PRINT_TEMPLATES`.

> Please note that the PDF printing service relies on Chromium, so please refer to `o23/n5` and the [Puppeteer](https://pptr.dev/)
> documentation for deployment instructions.
npm package: @rainbow-o23/n92
Description: o23 aws server base
Author: Rainbow Team
Latest version: 1.0.60

![Static Badge](https://img.shields.io/badge/InsureMO-777AF2.svg)

![Nest](https://img.shields.io/badge/nest-white.svg?logo=nestjs&logoColor=E0234E&style=social)
![Amazon S3](https://img.shields.io/badge/Amazon%20S3-white.svg?logo=amazons3&logoColor=569A31&style=social)

![Module Formats](https://img.shields.io/badge/module%20formats-cjs-green.svg)

# o23/n92

`o23/n92` is a web application that provides aws services for `o23/n90`.

### Environment Parameters

| Name                 | Type    | Default Value | Comments                      |
|----------------------|---------|---------------|-------------------------------|
| `app.plugins.aws.s3` | boolean | false         | Import aws s3 service or not. |

### AWS S3 Service

`o23/n92` has already deployed a printing service by leveraging the pipeline steps provided by `o23/n8`.