open-index/open-npm huggingface dataset:
npm package: @gocheto-dex/sdk
Description: 🛠 An SDK for building applications on top of Gocheto DEX.
Author: blockchainlover113
Latest version: 1.1.19

# Sushiswap SDK

In-depth documentation on this SDK is available at [uniswap.org](https://uniswap.org/docs/v2/SDK/getting-started/).

This modifies uniswap-sdk's UniswapV2Factory address. The new address for sushiswap is  `0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac`.

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

Move into the sushiswap-sdk working directory

```sh
cd sushiswap-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: @gochewy/chewy-cli
Description: CLI to create and manage Chewy stack project
Author: GoChewy Team
Latest version: 0.0.9

chewycli
========

cli to manage chewy stack project

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/chewycli.svg)](https://npmjs.org/package/chewycli)
[![Downloads/week](https://img.shields.io/npm/dw/chewycli.svg)](https://npmjs.org/package/chewycli)
[![License](https://img.shields.io/npm/l/chewycli.svg)](https://github.com/swarnchahal/chewycli/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @gochewy/chewy-cli
$ chewycli COMMAND
running command...
$ chewycli (-v|--version|version)
@gochewy/chewy-cli/0.0.8 darwin-x64 node-v14.15.4
$ chewycli --help [COMMAND]
USAGE
  $ chewycli COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`chewycli docker [ARGUMENT]`](#chewycli-docker-argument)
* [`chewycli help [COMMAND]`](#chewycli-help-command)
* [`chewycli install [INSTALLOPTION]`](#chewycli-install-installoption)

## `chewycli docker [ARGUMENT]`

Command to run docker containers

```
USAGE
  $ chewycli docker [ARGUMENT]
```

_See code: [src/commands/docker.ts](https://gitlab.com/ephemerecreative/chewy/cli/blob/v0.0.8/src/commands/docker.ts)_

## `chewycli help [COMMAND]`

display help for chewycli

```
USAGE
  $ chewycli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_

## `chewycli install [INSTALLOPTION]`

Command to download required files

```
USAGE
  $ chewycli install [INSTALLOPTION]
```

_See code: [src/commands/install.ts](https://gitlab.com/ephemerecreative/chewy/cli/blob/v0.0.8/src/commands/install.ts)_
<!-- commandsstop -->
* [`chewycli docker [ARGUMENT]`](#chewycli-docker-argument)
* [`chewycli install [FILE]`](#chewycli-install-file)

## `chewycli docker [ARGUMENT]`

Command to run docker containers

```
USAGE
  $ chewycli docker [ARGUMENT]
```

_See code: [src/commands/docker.ts](https://gitlab.com/ephemerecreative/chewy/cli/blob/v0.0.4/src/commands/docker.ts)_

## `chewycli help [COMMAND]`

display help for chewycli

```
USAGE
  $ chewycli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_

## `chewycli install [FILE]`

describe the command here

```
USAGE
  $ chewycli install [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print
```

_See code: [src/commands/install.ts](https://gitlab.com/ephemerecreative/chewy/cli/blob/v0.0.4/src/commands/install.ts)_
npm package: @goco/draft-js-typeahead
Description: Typeaheads for Draft.js inspired by Facebook.com
Author: Justin Vaillancourt
Latest version: 0.2.4

# Draft.js Typeahead

[![NPM version][npm-image]][npm-url]

Typeaheads for [Draft.js](https://github.com/facebook/draft-js) inspired by Facebook.com.

![example](example.gif)

[Check out an example of mentions in draft using draft-js-typeahead here. 🎉](http://dooly-ai.github.io/draft-js-typeahead/)

This package provides a higher-order component that wraps draft's `Editor` component and augments it with typeahead superpowers. One popular use for `draft-js-typeahead` is to add mentions to your editors.

`draft-js-typeahead` helps in three ways:
 - It figures out *if* and *where* the typeahead should be showing.
 - It keeps track of the typeahead's highlighted item.
 - It triggers a callback when an item is selected (by hitting return).


## Installation

```sh
$ npm install --save @goco/draft-js-typeahead
```


## Examples

[Examples are available under the `examples/` directory.](examples/)


## Usage

First we'll need to import `TypeaheadEditor`:

```javascript
import { TypeaheadEditor } from '@goco/draft-js-typeahead';
```

`TypeaheadEditor` is a react component that wraps draft's `Editor`. It supports all of the same properties as the latter, as well as a few others:

```
onTypeaheadChange(typeaheadState: TypeaheadState) => void
```


If there was a type called `TypeaheadState`, it would be like this:
```typescript
type TypeaheadState = {
  left: number,
  top: number,
  text: string,
  selectedIndex: number,
}
```

This method is called when the typeahead's *visibility*, *position*, or *text* changes. `typeaheadState` is an object with `left`, `top`, `text`, and `selectedIndex` properties. A typical callback sets `typeaheadState` on its own state and uses it to render an overlay in its component's `render` method. This method is also called when the typeahead is hidden by passing `null` to `typeaheadState`.

```
handleTypeaheadReturn(text: string, selectedIndex: number, selection: DraftJs.SelectionState) => void
```

This method is called when an item in the typeahead is selected (by hitting return). A typical callback autocompletes the editor with the selected item and tags it with a draft entity.

*Note:* By default draft-js-typeahead does not filter items in the typeahead based on the entered text, [see the mentions example for one approach to filtering](/examples/mentions).


## License

MIT © [Justin Vaillancourt](mailto:justin@dooly.ai)


[npm-image]: https://badge.fury.io/js/%40goco%2Fdraft-js-typeahead.svg
[npm-url]: https://www.npmjs.com/package/@goco/draft-js-typeahead
npm package: @gocodingnow/rn-better-boilerplate
Description: React Native Better Boilerplate
Author: I Le - Kevin
Latest version: 0.0.13

# React Native Better Boilerplate

![React Native Better Boilerplate License](https://img.shields.io/github/license/ildfreelancer/react-native-better-boilerplate)
![React Native Better Boilerplate Version](https://flat.badgen.net/npm/v/@gocodingnow/rn-better-boilerplate)
![React Native Better Boilerplate Release Date](https://img.shields.io/github/release-date/ildfreelancer/react-native-better-boilerplate)
![React Native Better Boilerplate Download](https://flat.badgen.net/npm/dt/@gocodingnow/rn-better-boilerplate)
![React Native Better Boilerplate Stars](https://img.shields.io/github/stars/ildfreelancer/react-native-better-boilerplate)
![React Native Better Boilerplate Top Language](https://img.shields.io/github/languages/top/ildfreelancer/react-native-better-boilerplate)
![React Native Better Boilerplate TypeScript](https://badgen.net/npm/types/tslib)

This project is a [React Native](https://facebook.github.io/react-native/) boilerplate that can be used to kickstart a mobile application.

The boilerplate provides **an optimized architecture for building solid cross-platform mobile applications** through separation of concerns between the UI and business logic. It is fully documented so that each piece of code that lands in your application can be understood and used.

```
If you love this boilerplate, give us a star!
```

## Requirements

Node 12 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.

You also need to install the dependencies required by React Native.  
Go to the [React Native environment setup](https://reactnative.dev/docs/environment-setup), then select `React Native CLI Quickstart` tab.  
Follow instructions for your given `development OS` and `target OS`.

## Quick start

To create a new project using the boilerplate simply run :

```
npx react-native init MyApp --template @gocodingnow/rn-better-boilerplate
```

Assuming you have all the requirements installed, you can run the project by running:

- `yarn start` to start the metro bundler, in a dedicated terminal
- `yarn <platform>` to run the *platform* application (remember to start a simulator or connect a device)


## License

This project is released under the [MIT License](LICENSE).

## Credits

- I forked some template configuration from [TheCodingMachine](https://www.thecodingmachine.com/)
npm package: @gocodingnow/rn-native-base-boilerplate
Description: React Native + Native Base Boilerplate
Author: I Le - Kevin
Latest version: 0.0.8

# RN Native Base Boilerplate

![RN Native Base Boilerplate License](https://img.shields.io/github/license/ildfreelancer/rn-native-base-boilerplate)
![RN Native Base Boilerplate Release Date](https://img.shields.io/github/release-date/ildfreelancer/rn-native-base-boilerplate)
![RN Native Base Boilerplate Stars](https://img.shields.io/github/stars/ildfreelancer/rn-native-base-boilerplate)
![RN Native Base Boilerplate Top Language](https://img.shields.io/github/languages/top/ildfreelancer/rn-native-base-boilerplate)
![RN Native Base Boilerplate TypeScript](https://badgen.net/npm/types/tslib)

This project is a [React Native](https://facebook.github.io/react-native/) boilerplate that can be used to kickstart a mobile application.

The boilerplate provides **an optimized architecture for building solid cross-platform mobile applications** through separation of concerns between the UI and business logic. It is fully documented so that each piece of code that lands in your application can be understood and used.

```
If you love this boilerplate, give us a star!
```

## Requirements

Node 12 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.

You also need to install the dependencies required by React Native.  
Go to the [React Native environment setup](https://reactnative.dev/docs/environment-setup), then select `React Native CLI Quickstart` tab.  
Follow instructions for your given `development OS` and `target OS`.

## Quick start

To create a new project using the boilerplate simply run :

```
npx react-native init MyApp --template @gocodingnow/rn-native-base-boilerplate
```

PLEASE read the README in root of your project.

## License

This project is released under the [MIT License](LICENSE).

## Credits

- I forked some template configuration from [TheCodingMachine](https://www.thecodingmachine.com/)
npm package: @gocodingnow/rn-size-matters
Description: React Native Size Matters Typescript
Author: I Le - Kevin
Latest version: 0.0.4

# Note for developers

All credits to <https://github.com/nirsky/react-native-size-matters>

1/ To install:

```bash
yarn add @gocodingnow/rn-size-matters
```

or

```bash
npm i @gocodingnow/rn-size-matters
```

or

```bash
pnpm i @gocodingnow/rn-size-matters
```

2/ Configuration

In App.tsx, set default resolution at the root,

```jsx

const SIZE_MATTERS_BASE_WIDTH = 375;
const SIZE_MATTERS_BASE_WIDTH = 812;

setSizeMattersBaseWidth(SIZE_MATTERS_BASE_WIDTH);
setSizeMattersBaseHeight(SIZE_MATTERS_BASE_WIDTH);
```
npm package: @gocodingnow/rn-tamagui-boilerplate
Description: React Native + Tamagui Boilerplate
Author: I Le - Kevin
Latest version: 0.0.4

# RN Tamagui Boilerplate

![RN Tamagui Boilerplate License](https://img.shields.io/github/license/ildfreelancer/rn-native-base-boilerplate)
![RN Tamagui Boilerplate Release Date](https://img.shields.io/github/release-date/ildfreelancer/rn-native-base-boilerplate)
![RN Tamagui Boilerplate Stars](https://img.shields.io/github/stars/ildfreelancer/rn-native-base-boilerplate)
![RN Tamagui Boilerplate Top Language](https://img.shields.io/github/languages/top/ildfreelancer/rn-native-base-boilerplate)
![RN Tamagui Boilerplate TypeScript](https://badgen.net/npm/types/tslib)

This project is a [React Native](https://facebook.github.io/react-native/) boilerplate that can be used to kickstart a mobile application.

The boilerplate provides **an optimized architecture for building solid cross-platform mobile applications** through separation of concerns between the UI and business logic. It is fully documented so that each piece of code that lands in your application can be understood and used.

```
If you love this boilerplate, give us a star!
```

## Requirements

Node 12 or greater is required. Development for iOS requires a Mac and Xcode 10 or up, and will target iOS 11 and up.

You also need to install the dependencies required by React Native.  
Go to the [React Native environment setup](https://reactnative.dev/docs/environment-setup), then select `React Native CLI Quickstart` tab.  
Follow instructions for your given `development OS` and `target OS`.

## Quick start

To create a new project using the boilerplate simply run :

```
npx react-native init MyApp --template @gocodingnow/rn-tamagui-boilerplate
```

PLEASE read the README in root of your project.

## License

This project is released under the [MIT License](LICENSE).

## Credits

- I forked some template configuration from [TheCodingMachine](https://www.thecodingmachine.com/)
npm package: @gocom/resolution
Description: Identify pixel resolutions and dimension strings
Author: Jukka Svahn
Latest version: 0.1.0

Resolution
=====

[![npm](https://img.shields.io/npm/v/%40gocom%2Fresolution)](https://www.npmjs.com/package/@gocom/resolution) ![MIT](https://img.shields.io/badge/license-MIT-green) ![TypeScript](https://img.shields.io/badge/types-TypeScript-blue)

Identify pixel resolutions, dimension strings and aspect ratios. Offers a library for parsing given pixel resolution
values and returning  resulting aspect ratios, or human-readable short name identifiers. The main use-case for
the library would be to convert raw resolution dimensions to 1080p, 4K and 8K, and other identifiers. Written in
TypeScript, and supports both client-side browser and Node.js backend contexts.

⚡ Install
-----

Using npm:

```shell
$ npm install @gocom/resolution
```

📖 Documentation
-----

See [API Docs](https://github.com/gocom/resolution/blob/docs/0.1.0/Public/API.md).

📝 Example Usage
----

### Parsing resolution dimensions string

The following would parse the given `7680x4320` resolution string, and returns the results as an object:

```typescript
import {parse} from '@gocom/resolution';

const resolution = parse('7680x4320');

console.log(
  resolution?.name, // 8K UHD
  resolution?.group, // 8K
  resolution?.width, // 7680
  resolution?.height, // 4320
  resolution?.aspectRatio, // 16:9
  resolution?.dimensionRatio, // 1.78
);
```

For more see [API documentation](https://github.com/gocom/resolution/blob/docs/0.1.0/Public/API.md).

🛠️ Development
-----

See [CONTRIBUTING.md](https://github.com/gocom/resolution/blob/0.1.0/CONTRIBUTING.md).

🚀 Changes in 0.1.0
-----

* Initial release.
npm package: @gocom/tr
Description: Search and replace substrings in a string haystack
Author: Jukka Svahn
Latest version: 0.1.1

Changelog
-----

Search-and-replaces in a string haystack. This is an implementation of the pseudo-standard string **translate**
replacement function found in other languages, which avoids recursively re-replacing the found matches in the already
replaced values. This is achieved by moving pointer forward when a found needle value is replaced with the wanted
**to** value, which then avoid erroneously searching for needles from the already replaced **to** value. Written
in TypeScript, and supports both client-side web browser and Node.js backend usage.

⚡ Install
-----

Using npm:

```shell
$ npm install @gocom/tr
```

📖 Documentation
-----

See [API Docs](https://github.com/gocom/tr/blob/docs/0.1.1/Public/API.md).

📝 Example Usage
-----

### Replace substrings

The following would replace the original `red` substring with `blue` and `blue` with `red`:

```typescript
import {tr} from '@gocom/tr';

const result = tr(
  'blue, red, yellow',
  {
    'red': 'blue',
    'blue': 'red',
  }
);
```

The above `result` variable would become:

```
red, blue, yellow
```

For more see [documentation](https://github.com/gocom/tr/blob/docs/0.1.1/Public/API.md).


🚀 Changes in 0.1.1
-----

* Re-packaged 0.1.0, with URL links corrected in packaged README.md, and release notes.

For changes in previous versions, see [CHANGELOG.md](https://github.com/gocom/tr/blob/0.1.1/CHANGELOG.md).