# @uniswap/v2-core

> 🎛 Core contracts for the UniswapV2 protocol

Latest version **1.0.1** (published 2020-05-18) · GPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @uniswap/v2-core
pnpm add @uniswap/v2-core
yarn add @uniswap/v2-core
bun add @uniswap/v2-core
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-05-18 |
| First published | 2020-04-15 |
| Weekly downloads | 0 |
| License | GPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 2.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3351 |
| Maintainers | moodysalem, noahwz |
| Keywords | uniswap, ethereum, v2, core, uniswap-v2 |

## Links

- npm: https://www.npmjs.com/package/@uniswap/v2-core
- Repository: https://github.com/Uniswap/uniswap-v2-core
- Homepage: https://uniswap.org
- Issues: https://github.com/Uniswap/uniswap-v2-core/issues
- npm.io page: https://npm.io/package/@uniswap/v2-core

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-05-18
- 1.0.0 — 2020-04-22
- 1.0.0-beta.4 — 2020-04-22
- 1.0.0-beta.3 — 2020-04-22
- 1.0.0-beta.2 — 2020-04-17
- 1.0.0-beta.1 — 2020-04-17
- 1.0.0-beta.0 — 2020-04-15

## README

# Uniswap V2

[![Actions Status](https://github.com/Uniswap/uniswap-v2-core/workflows/CI/badge.svg)](https://github.com/Uniswap/uniswap-v2-core/actions)
[![Version](https://img.shields.io/npm/v/@uniswap/v2-core)](https://www.npmjs.com/package/@uniswap/v2-core)

In-depth documentation on Uniswap V2 is available at [uniswap.org](https://uniswap.org/docs).

The built contract artifacts can be browsed via [unpkg.com](https://unpkg.com/browse/@uniswap/v2-core@latest/).

# Local Development

The following assumes the use of `node@>=10`.

## Install Dependencies

`yarn`

## Compile Contracts

`yarn compile`

## Run Tests

`yarn test`

---
_Source: https://npm.io/package/@uniswap/v2-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
