open-index/open-npm huggingface dataset:
npm package: @myconjure/aliyunoss-downloader
Description: 一个支持配置文件、MD5 校验、跨平台的阿里云 OSS 批量下载器
Author: Endyfei
Latest version: 1.0.9

# aliyunoss-downloader

一个支持配置文件、MD5 校验、跨平台的阿里云 OSS 批量下载器。

## 安装

```bash
pnpm add aliyunoss-downloader -D
npm package: @mycool/discordjs-slashcommand
Description: Makes slash commands easier
Author: MyCool
Latest version: 1.2.1

# Discordjs-SlashCommand
Discordjs-SlashCommand is a [npm](https://npmjs.com/) library. this library make slash command easer

## Installation
```bash
npm install @mycool/discordjs-slashcommands --save
```

## Usage

```javascript
const Discord = require('discord.js');
const client = new Discord.Client({
    intents: Object.values(Discord.Intents.FLAGS)
});
const package = require('@mycool/discordjs-slashcommands');
const builder = new package.CommandBuilder(client);

client.once('ready', () => {
    console.log('The bot is ready')
    builder.build([
        {
            global: true,
            command: {
                type: 'CHAT_INPUT',
                name: 'test',
                description: 'testing the package.',
            },
            commandResponse: {
                async CommandExec(interaction) {
                    interaction.reply({
                        content: 'test',
                        ephemeral: true
                    })
                }
            },
        }
    ]).then(() => {
        builder.run();
    });
})

client.login('TOKEN_HERE')
```

## Options
### `CommandBuilder` 
 * `@parms` `client`
 *  `@typeof {client}` `<discord.js>.Client` 
### `CommandBuilder/__client__`
 * `@type` `<discord.js>.Client`
 * the client that `CommandBuilder` using.
### `CommandBuilder/__Commands__`
 *  `@type` `Map<string, BuildData>`
 *  the commands that `CommandBuilder` using.
### `CommandBuilder/__ComponentDir__`
 * `@type` `string`
 *  the `Components` folder that `CommandBuilder` using
 * **default** - `null`
### `CommandBuilder/setComponent`
 * `@parms` `path`
 * `@typeof {path}` `string`
 * The folder should look like this:
    ```bash
    __dirname
    ├───Buttons
    │    ├───ButtonCustomId.js/ts
    │    └───...
    └───SelectMenu
         ├───SelectMenuCustomId.js/ts
         └───...
      ```
 * **If component message is from interaction you don't need to create a file in this folder you can use the function in the build function him self**
### `CommandBuilder/build`
 * `@parms` `Data`
 * `typeof {Data}` `BuildData[]`
 * Build the slash command/s.
### `CommandBuilder/run`
 * Runing the slash command/s.
### `CommandBuilder/reset`
 * removing all global client slash commands.
### `CommandBuilder/remove`
 * `@parms` `global`
 * `@typeof {global}` `boolean`
 * `@parms` `guildId`
 * `@typeof {guildId}` `<discord.js>.Snowflake`
 * `@parms` `CommandName`
 * `@typeof {CommandName}` `string`


## License
[MIT](https://choosealicense.com/licenses/mit/)
npm package: @mycoverai/mca-react-sdk
Description: Official MyCover.ai SDK. Supercharge your product with MyCover AI Insurance offerings. Create embedded insurance offerings or full white label insurance applications that excite your customers.
Latest version: 0.7.0

# MyCover.ai React SDK

Official MyCover.ai SDK. Supercharge your product with MyCover AI Insurance offerings. Create embedded insurance
offerings or full white label insurance applications that excite your customers.

## Installation

### With NPM

```bash
npm install @mycoverai/mca-react-sdk
```

### From CDN

```bash
<script src="https://unpkg.com/@mycoverai/mca-react-sdk/dist/umd.js"></script>
```

## Usage

### With NPM

```javascript
//import package
import {Mca} from '@mycoverai/mca-react-sdk'


//import in your template & setup your business configuration by supplying your client id. If product_id is not provided or is an empty array, the SDK will display a list of insurance products for the customer to choose from. You can supply an array of strings, where each string represents an insurance product id, for the user to select from.
<Mca clientId='olakunle@mycovergenius.com' productId={['a72c4e3c-e868-4782-bb35-df6e3344ae6c']} onClose={close} callback={callback} form={{first_name: 'Fred', last_name: 'Ebho'}}  />


```

### With CDN


## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @mycoverai/mca-vue-legacy-sdk
Description: Official MyCover.ai SDK. Supercharge your product with MyCover AI Insurance offerings. Create embedded insurance offerings or full white label insurance applications that excite your customers.
Latest version: 0.6.3

# MyCover.ai Vue 2 SDK

Official MyCover.ai SDK. Supercharge your product with MyCover AI Insurance offerings. Create embedded insurance
offerings or full white label insurance applications that excite your customers.

## Installation

### With NPM

```bash
npm install @mycoverai/mca-vue-legacy-sdk
```

### From CDN

```bash
<script src="https://unpkg.com/@mycoverai/mca-vue-legacy-sdk/dist/umd.js"></script>
```

## Usage

### With NPM

```javascript

//import package globally on your main.js or index.js
import mca from  "@mycoverai/mca-vue-legacy-sdk";

Vue.use(mca);

new Vue({
    render: h => h(App),
}).$mount('#app')
    

//or just import & use localy on your component  
import mca from '@mycoverai/mca-vue-legacy-sdk';

export default {
    name: 'App',
    components: {
        mca
    },
    methods: {
        onClose(){

        }
    }
}    

//import in your template & setup your business configuration by supplying your client id. If product_id is not provided or is an empty array, the SDK will display a list of insurance products for the customer to choose from. You can supply an array of strings, where each string represents an insurance product id, for the user to select from.
<mca client-id="olakunle@mycovergenius.com" :product-id="['a72c4e3c-e868-4782-bb35-df6e3344ae6c']" on-close="onClose" ></mca>


```

### With CDN


## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @mycoverai/mca-vue-sdk
Description: Official MyCover.ai SDK. Supercharge your product with MyCover AI Insurance offerings. Create embedded insurance offerings or full white label insurance applications that excite your customers.
Latest version: 0.6.3

# MyCover.ai Vue 3 SDK

Official MyCover.ai SDK. Supercharge your product with MyCover AI Insurance offerings. Create embedded insurance
offerings or full white label insurance applications that excite your customers.

## Installation

### With NPM

```bash
npm install @mycoverai/mca-vue-sdk
```

### From CDN

```bash
<script src="https://unpkg.com/@mycoverai/mca-vue-sdk/dist/umd.js"></script>
```

## Usage

### With NPM

```javascript
//import package
import mca from  "@mycoverai/mca-vue-sdk";

const app = createApp(App);

app.use(mca)

//import in your template & setup your business configuration by supplying your client id. If product_id is not provided or is an empty array, the SDK will display a list of insurance products for the customer to choose from. You can supply an array of strings, where each string represents an insurance product id, for the user to select from.
<mca client-id="olakunle@mycovergenius.com" :product-id="['a72c4e3c-e868-4782-bb35-df6e3344ae6c']" :on-close="close" :callback="callback" :form="{first_name: 'Fred',last_name: 'Ebho'}" ></mca>


```

### With CDN


## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @mycro-ui/icons
Description: Light-weight, beautiful icons crafted with  :sparkling_heart:
Author: HassanBahati
Latest version: 1.0.0

<b><h1 align="center">mycro-icons</h1></b>

<h1 align="center">Light-weight, beautiful icons crafted with  :sparkling_heart:</h1>

### Quick start

Inside your root project directory, install `@mycro-ui/icons`

```sh
npm i @mycro-ui/icons

or

yarn add @mycro-ui/icons
```
npm package: @mycrypto/ganache-toolbox
Description: A simple CLI to interact with MyCrypto Ganache
Author: MyCrypto
Latest version: 0.1.2

# Ganache Toolbox

[![GitHub license](https://img.shields.io/github/license/MyCryptoHQ/ganache-toolbox.svg)](https://github.com/MyCryptoHQ/ganache-toolbox/blob/master/LICENSE)
[![Build](https://github.com/MyCryptoHQ/ganache-toolbox/workflows/GitHub%20CI/badge.svg?branch=master)](https://github.com/MyCryptoHQ/MyCrypto/actions)
[![GitHub release](https://img.shields.io/github/release/MyCryptoHQ/ganache-toolbox.svg)](https://GitHub.com/MyCryptoHQ/ganache-toolbox/releases/)
[![NPM](https://nodei.co/npm/ganache-toolbox.png?mini=true)](https://npmjs.org/package/ganache-toolbox)

Ganache Toolbox is a simple CLI to fund a Ganache test account with relevant tokens to execute tests on [MyCrypto](https://github.com/MyCryptoHQ/MyCrypto).

## Installation

With `npm`

```bash
npm install -g @mycrypto/ganache-toolbox
```

Alternatively you can use `npx` to use the CLI without installing it

```bash
npx @mycrypto/ganache-toolbox [...]
```

## Usage

### Basic usage

```bash
# To fund your account with 100 of each tokens the CLI support
@mycrypto/ganache-toolbox --address [ your_address ] --instance [ instance_url ]
```

### Advanced usage

```bash
# To fund your account with one of the supported tokens
@mycrypto/ganache-toolbox -address [ your_address ] --instance [ instance_url ] --token [ DAI | REP | LEND | GNT ]
```

```bash
# Specify the amount of tokens you want to be funded.
@mycrypto/ganache-toolbox -address [ your_address ] --instance [ instance_url ] --amount [0...10000]
```

### Skipping prompt

ganache-toolbox could ask you, if not used correctly, to correct your passed arguments. In order to use it inside a container pass the `--yes` or `-y` flag to avoid being prompted with questions.

```bash
# To disable prompting
@mycrypto/ganache-toolbox --yes -address [ your_address ] --instance [ instance_url ]
```

### Available flags

- `--yes` / `-y` : Disable prompt
- `--instance` / `-i`: URL of your ganache node
- `--address` / `-a`: The Ethereum address where the CLI will send the token(s)
- `--token` / `-t`: The available token you want to be found (Actually available: `DAI, REP, LEND ,GNT`)
- `--amount` / `-m`: The amount of tokens you want

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

### Spin up the project

```bash
git clone https://github.com/MyCryptoHQ/ganache-toolbox.git
cd ganache-toolbox
yarn
yarn start
```

### Build the project

```bash
yarn build
```

built application can be found in the `dist` folder

### Run tests

```bash
yarn test
```

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @mycrypto/gas-estimation
Description: The MyCrypto EIP 1559 gas estimation strategy, now provided as a library.
Author: MyCrypto
Latest version: 1.1.1

# gas-estimation

EIP-1559 gas estimation library, using the estimation strategy of MyCrypto. The library does not depend on a third-party
API but rather fetches the historic data (for the latest 10 blocks) from a regular Ethereum node directly.

## Getting Started

The library is published on npm. To install it, you can use `npm` or `yarn`:

```text
yarn add @mycrypto/gas-estimation
```

or

```text
npm install @mycrypto/gas-estimation
```

### Example

```ts
import { estimateFees } from '@mycrypto/gas-estimation';

// Estimation using a JSON-RPC endpoint.
// Web3.js, Ethers.js and EIP-1193 providers are also supported, see the documentation.
const { maxFeePerGas, maxPriorityFeePerGas } = await estimateFees('http://127.0.0.1:8545');

console.log(maxFeePerGas, maxPriorityFeePerGas);
```

## API

The library exposes a function to estimate gas fees based on the latest 10 blocks, and the underlying function used to calculate the estimate.

### `estimateFees(provider)`

- `provider` - A Web3 instance, Ethers.js provider, JSON-RPC endpoint, or EIP-1193 compatible provider.
- Returns: \<Promise\<EstimationResult\>\> - An object containing the estimated `maxFeePerGas`, `maxPriorityFeePerGas`, and `baseFee`, as `bigint` (all values in Wei).

### `calculateFees(baseFee, feeHistory)`

- `baseFee` - The current base fee as a `bigint` (in Wei).
- `feeHistory` - The fee history object returned by a node when calling `eth_feeHistory`.
- Returns: \<EstimationResult\> - An object containing the estimated `maxFeePerGas`, `maxPriorityFeePerGas`, and `baseFee`, as `bigint` (all values in Wei).

### Providers

Currently, gas-estimation has support for four different providers:

- Ethers.js, by using an existing Ethers.js provider.
- Web3, by using an instance of the Web3 class.
- HTTP, by using a URL of a JSON-RPC endpoint as string.
- EIP-1193 compatible provider, like `window.ethereum`.

## Contributing

If you found a bug, have a suggestion or want to contribute in any other way, feel free to open an issue or submit a pull request. Any contributions are highly appreciated.

## Compatibility

`gas-estimation` uses ES6+ functionality, which may not be supported on all platforms. If you need compatibility with older browsers or Node.js versions, you can use something like [Babel](https://github.com/babel/babel).

There is an ES compatible version available, which should work with module bundlers like [Webpack](https://webpack.js.org/) and [Rollup](https://github.com/rollup/rollup).
npm package: @mycrypto/ui
Description: The shared UI component library used across all MyCrypto products.
Author: MyCrypto
Latest version: 1.12.1

# [MyCrypto UI](https://mycryptobuilds.com/ui)

[![Build Status](https://github.com/MyCryptoHQ/ui/workflows/CI/badge.svg)](https://github.com/MyCryptoHQ/ui/actions)
[![Codecov](https://codecov.io/gh/MyCryptoHQ/ui/branch/master/graph/badge.svg)](https://app.codecov.io/gh/MyCryptoHQ/ui)

The shared UI component library used across all MyCrypto products.

Implemented with [React](https://github.com/facebook/react) components following [Atomic Design](http://atomicdesign.bradfrost.com/).

## Installation

Requires a bundler with ES module support.

`yarn add @mycrypto/ui styled-components`

Wrap your app in a `ThemeProvider` to use the included theme.

```js
import { Body, theme } from '@mycrypto/ui';
import { ThemeProvider } from 'styled-components';

<ThemeProvider theme={theme}>
  <Body>Hello, world!</Body>
</ThemeProvider>;
```

## Typeface

Our designs use the [Lato](http://www.latofonts.com/) and [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono) typefaces, which you will probably need to install in your app or site. There are several options depending on your requirements and build tooling:

- Use [@fontsource/lato](https://www.npmjs.com/package/@fontsource/lato) and [@fontsource/roboto-mono](https://www.npmjs.com/package/@fontsource/roboto-mono) to self-host your typefaces when using npm/yarn with Webpack or any other build tool with CSS and font loaders ([instructions](https://github.com/fontsource/fontsource#installation))
- Use [Google Fonts](https://fonts.google.com/?selection.family=Lato:400,700,900|Roboto+Mono) to load the fonts from a CDN (over the Internet) without any configuration (note that [Google collects some usage data](https://developers.google.com/fonts/faq#what_does_using_the_google_fonts_api_mean_for_the_privacy_of_my_users))
- Download [Lato](http://www.latofonts.com/) and [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono) directly if you need more control over font loading or if you only plan on using the fonts locally

## Development

You can launch the storybook simply by running `yarn start`. To test changes inside other projects directly, you can use `yarn link`:

```
# Inside the UI folder
yarn link
yarn build

# Inside your own project
yarn link @mycrypto/ui
```

## Deployment

The npm package is automatically updated by GitHub CI whenever the version is changed inside `package.json`.
npm package: @mycrypto/ui-legacy
Description: The shared UI component library used across all MyCrypto products.
Author: MyCrypto
Latest version: 0.24.1

# [MyCrypto UI](https://mycryptobuilds.com/ui)

[![Build Status](https://travis-ci.org/MyCryptoHQ/ui.svg?branch=master)](https://travis-ci.org/MyCryptoHQ/ui)
[![Coverage Status](https://coveralls.io/repos/github/MyCryptoHQ/ui/badge.svg?branch=master)](https://coveralls.io/github/MyCryptoHQ/ui?branch=master)

The shared UI component library used across all MyCrypto products.

Implemented with [React](https://github.com/facebook/react) components following [Atomic Design](http://atomicdesign.bradfrost.com/).

## Installation

Requires a bundler with ES module support.

`yarn add @mycrypto/ui styled-components`

Wrap your app in a `ThemeProvider` to use the included `light` and `dark` themes.

```js
import { Button, light } from '@mycrypto/ui';
import React from 'react';
import { ThemeProvider } from 'styled-components';

<ThemeProvider theme={light}>
  <Button>Button</Button>
</ThemeProvider>;
```

## Typeface

Our designs use the [Lato](http://www.latofonts.com/) and [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono) typefaces, which you will probably need to install in your app or site. There are several options depending on your requirements and build tooling:

- Use [typeface-lato](https://www.npmjs.com/package/typeface-lato) and [typeface-roboto-mono](https://www.npmjs.com/package/typeface-roboto-mono) to self-host your typefaces when using npm/yarn with Webpack or any other build tool with CSS and font loaders ([instructions](https://github.com/KyleAMathews/typefaces#how))
- Use [Google Fonts](https://fonts.google.com/?selection.family=Lato:400,700,900|Roboto+Mono) to load the fonts from a CDN (over the Internet) without any configuration (note that [Google collects some usage data](https://developers.google.com/fonts/faq#what_does_using_the_google_fonts_api_mean_for_the_privacy_of_my_users))
- Download [Lato](http://www.latofonts.com/) and [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono) directly if you need more control over font loading or if you only plan on using the fonts locally

## Development

You can launch the storybook simply by running `yarn start`

## Deployment

The npm package is automatically updated by Travis whenever a new tag is pushed to the remote.
To facilitate version management we use [yarn version](https://yarnpkg.com/lang/en/docs/cli/version/). To release a new version you just need to run:

```
  yarn version --major|--minor|--patch
```

This command will bump the version in the `package.json` file AND create an associated `tag`.
After this, you must simply push the code and the tag to Github.

```
  git push && git push --tags
```
npm package: @mycrypto/unlock-scan
Description: An efficient Unlock Protocol scanner
Author: MyCrypto
Latest version: 1.2.1

# unlock-scan

An efficient Unlock Protocol scanner.

## Getting started

The library is published on npm. To install it, use `npm` or `yarn`:

```
yarn add @mycrypto/unlock-scan
```

or

```
npm install @mycrypto/unlock-scan
```
npm package: @mycujoo/eslint-config-mycujoo-base
Description: ESLint base configuration file for @mycujoo
Author: mycujoo.tv
Latest version: 1.0.1

# eslint-config-mycujoo-base

## Introduction

This is the base ESLint configuration file used at mycujoo.

It is based on [Airbnb's config](https://www.npmjs.com/package/eslint-config-airbnb-base).

## Installation

### NPM

```
npm install --save-dev eslint@latest eslint-plugin-import@latest @mycujoo/eslint-config-mycujoo-base
```

### Yarn

```
yarn add --exact --dev eslint@latest eslint-plugin-import@latest @mycujoo/eslint-config-mycujoo-base
```

### Your `.eslintrc`

To add the rules to your `.eslintrc`, extend the file with the package in the following manner:

```
{
  "extends": ["@mycujoo/mycujoo-base"]
}
```

Example:
```
{
  "extends": [
    "@mycujoo/mycujoo-base"
  ],
  "env": {
    "node": true,
    "jest": true
  }
}
```