open-index/open-npm huggingface dataset:
npm package: @james.chien/sushiswap-sdk
Description: 🛠 An SDK for building applications on top of SushiSwap.
Latest version: 5.0.0-canary.117

# 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: @james.kwon/excalidraw
Description: Excalidraw as a React component
Latest version: 0.17.10

# Excalidraw

**Excalidraw** is exported as a component to directly embed in your projects.

## Installation

You can use `npm`

```bash
npm install react react-dom @excalidraw/excalidraw
```

or via `yarn`

```bash
yarn add react react-dom @excalidraw/excalidraw
```

After installation you will see a folder `excalidraw-assets` and `excalidraw-assets-dev` in `dist` directory which contains the assets needed for this app in prod and dev mode respectively.

Move the folder `excalidraw-assets` and `excalidraw-assets-dev` to the path where your assets are served.

By default it will try to load the files from [`https://unpkg.com/@excalidraw/excalidraw/dist/`](https://unpkg.com/@excalidraw/excalidraw/dist)

If you want to load assets from a different path you can set a variable `window.EXCALIDRAW_ASSET_PATH` depending on environment (for example if you have different URL's for dev and prod) to the url from where you want to load the assets.

#### Note

**If you don't want to wait for the next stable release and try out the unreleased changes you can use `@excalidraw/excalidraw@next`.**

## Dimensions of Excalidraw

Excalidraw takes _100%_ of `width` and `height` of the containing block so make sure the container in which you render Excalidraw has non zero dimensions.

### Demo

[Try here](https://codesandbox.io/s/excalidraw-ehlz3).

## Integration

Head over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/integration)

## API

Head over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api)

## Contributing

Head over to the [docs](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/contributing)
npm package: @james.talmage/npm-safe-name
Description: My stunning module
Author: James Talmage
Latest version: 0.0.0

# npm-safe-name [![Build Status](https://travis-ci.org/jamestalmage/npm-safe-name.svg?branch=master)](https://travis-ci.org/jamestalmage/npm-safe-name)

> Check if a string you want is a safe npm name.

It checks the following rules:

- The name must be shorter than 214 characters. This includes the scope for scoped packages.
- The name can't start with a dot or an underscore.
- New packages must not have uppercase letters in the name.
- The name ends up being part of a URL, an argument on the command line, and a folder name. Therefore, the name can't contain any non-URL-safe characters.

## Install

```
$ npm install --save npm-safe-name
```

## Usage

```js
var isSafe = require('npm-safe-name');

isSafe('unicorns');
//=> true

isSafe('foo bar');
//=> false
```

## API

### npmSafeName(input)

#### input

*Required*  
Type: `string`

the name you want to check


## License

MIT © [James Talmage](https://github.com/jamestalmage)
npm package: @jamesacarr/eslint-formatter-github-actions
Description: Reporter for Jest that outputs GitHub Actions annotations
Author: James Carr
Latest version: 0.2.0

# ESLint Reporter for GitHub Actions

[![Test status](https://github.com/jamesacarr/eslint-formatter-github-actions/workflows/tests/badge.svg)](https://github.com/jamesacarr/eslint-formatter-github-actions/actions?query=workflow%3Atests)
[![NPM badge](https://img.shields.io/npm/v/@jamesacarr/eslint-formatter-github-actions.svg)](https://www.npmjs.com/package/@jamesacarr/eslint-formatter-github-actions)

A custom formatter for ESLint that creates annotations when run via GitHub Actions

## Installation

```sh
npm install -D @jamesacarr/eslint-formatter-github-actions
```

Or, even better:

```sh
yarn add -D @jamesacarr/eslint-formatter-github-actions
```

## Usage

To get annotations working in your GitHub Actions runs, you need to run ESLint with the `--format` or `-f` flag. For example:

```sh
eslint -f @jamesacarr/github-actions
```

You can also use this formatter if you're using [XO](https://github.com/xojs/xo):

```sh
xo --reporter @jamesacarr/github-actions
```
npm package: @jamesacarr/jest-reporter-github-actions
Description: Reporter for Jest that outputs GitHub Actions annotations
Author: James Carr
Latest version: 0.0.4

# Jest Reporter for GitHub Actions

[![Test status](https://github.com/jamesacarr/jest-reporter-github-actions/workflows/tests/badge.svg)](https://github.com/jamesacarr/jest-reporter-github-actions/actions?query=workflow%3Atests)
[![NPM badge](https://img.shields.io/npm/v/@jamesacarr/jest-reporter-github-actions.svg)](https://www.npmjs.com/package/@jamesacarr/jest-reporter-github-actions)

A custom reporter for Jest that creates annotations when run via GitHub Actions

## Installation

```sh
npm install -D @jamesacarr/jest-reporter-github-actions
```

Or, even better:

```sh
yarn add -D @jamesacarr/jest-reporter-github-actions
```

## Usage

To get annotations working in your GitHub Actions runs, you need to setup Jest to use this reporter. You can do that by adding the following to your `jest.config.js`:

```js
module.exports = {
  reporters: [
    'default',
    '@jamesacarr/jest-reporter-github-actions'
  ],
  testLocationInResults: true,
}
```

Or, you can simply run Jest with the following options:

```sh
jest --testLocationInResults --reporters=default --reporters=@jamesacarr/jest-reporter-github-actions
```