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

# Miuswap 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/miuswap/miuswap-sdk.git
```

Move into the miuswap-sdk working directory

```sh
cd miuswap-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: @miuswap/uikit
Description: Set of UI components for miuswap projects
Latest version: 0.0.1

# 🥞 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: @miuswap/uikits
Description: Set of UI components for miuswap projects
Latest version: 1.1.11

# MiuSwap UIkit

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

## Install

`yarn add @miuswap-libs/uikit`

## Setup

### Theme

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

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

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@miuswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.
npm package: @mivam/string-capitalizer
Description: Capitaliza la primera letra de cada palabra
Author: Miguel
Latest version: 1.1.0

# @mivam/string-capitalizer

Capitalize:
Capitaliza la primera letra de cada palabra en un string.

CapitalizeFirst:
Capitaliza la primera letra de la pirmera palabra en un string.


## Instalación

\`\`\`bash
npm install @mivam/string-capitalizer
\`\`\`

## Uso

Capitalize:
\`\`\`javascript
const capitalize = require('@mivam/string-capitalizer');

capitalize('hello world');  // 'Hello World'
capitalize('HELLO WORLD');  // 'Hello World'
\`\`\`


CapitalizeFirst:
\`\`\`javascript
const capitalizeFirst = require('@mivam/string-capitalizer');

capitalize('hello world');  // 'Hello world'
capitalize('HELLO WORLD');  // 'Hello WORLD'
\`\`\`


## API

### capitalize(text)

- **text** (string): El texto a capitalizar
- **Retorna**: (string) El texto capitalizado

## Licencia

MIT
npm package: @mivia/react-promise-button
Description: react-romise-button
Author: Michał Wiaderek
Latest version: 1.0.4

[![Build Status](https://travis-ci.com/mivia/react-promise-button.svg?branch=master)](https://travis-ci.com/mivia/react-promise-button) ![dependencies](https://img.shields.io/david/mivia/react-promise-button.svg) ![dev dependencies](https://img.shields.io/david/dev/mivia/react-promise-button.svg)

# React-Promise-Button
A promise-button for you react app.
## Installation
Add react-promise-button to your project by executing `npm install @mivia/react-promise-button` or `yarn add @mivia/react-promise-button`.
## Demo
[Preview](https://mivia.github.io/react-promise-button/) available!
## Usage
Here's an example of basic usage:
```js
import React, { Component } from 'react';
import PromiseButton from '@mivia/promise-button';

const pendingConfig = {
  className: `PromiseButton--pending`,
  children: (
    <span>
      Pending!
    </span>
  ),
};

const successConfig = {
  className: `PromiseButton--success`,
  children: (
    <span>
      Success done!
    </span>
  ),
};

export default class Example extends Component {
  onClickSuccess = () => new Promise((resolve) => {
    setTimeout(() => {
      resolve('Success!');
    }, 2000);
  })

  render() {
    return (
      <PromiseButton
        onClick={this.onClickSuccess}
        pendingConfig={pendingConfig}
        successConfig={successConfig}
      >
        Gonna be success
      </PromiseButton>
    );
  }
}
```
## User guide
### Props
|Prop name|Description|Default value|Example values|
|----|----|----|----|
|className|Class name(s) that will be added to the button element.|n/a|`"class1 class2"`|
|onClick|A required callback function returning a promise.|n/a|`() => Promise.resolve()`|
|pendingConfig|Config including className and children that decorates the button when promise is pending.|n/a|`{className: "PromiseButton--pending", children: (<h2>Pending!</h2>)}`|
|successConfig|Config including className and children that decorates the button when promise has been successful.|n/a|`{className: "PromiseButton--success", children: (<h2>Success!</h2>)}`|
|errorConfig|Config including className and children that decorates the button when promise has failed.|n/a|`{className: "PromiseButton--error", children: (<h2>Error!</h2>)}`|
|refreshTimeout|Time that has to pass before switching back to initial config of the button after the promise is done, in miliseconds.|`2000`|`3000`|