# @tajswap-libs/sdk

> 🛠 An SDK for building applications on top of tajswap.

Latest version **1.0.6** (published 2021-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tajswap-libs/sdk
pnpm add @tajswap-libs/sdk
yarn add @tajswap-libs/sdk
bun add @tajswap-libs/sdk
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-03-15 |
| First published | 2021-02-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 7 |
| Unpacked size | 436.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tapendra.shee |
| Keywords | tajswap, ethereum |

## Links

- npm: https://www.npmjs.com/package/@tajswap-libs/sdk
- Repository: https://github.com/tajswap/tajswap-sdk
- Homepage: https://github.com/tajswap/tajswap-sdk#readme
- Issues: https://github.com/tajswap/tajswap-sdk/issues
- npm.io page: https://npm.io/package/@tajswap-libs/sdk

## Dependencies (7)

- [jsbi](https://npm.io/package/jsbi.md) ^3.1.1
- [big.js](https://npm.io/package/big.js.md) ^5.2.2
- [toformat](https://npm.io/package/toformat.md) ^2.0.0
- [tiny-warning](https://npm.io/package/tiny-warning.md) ^1.0.3
- [tiny-invariant](https://npm.io/package/tiny-invariant.md) ^1.1.0
- [decimal.js-light](https://npm.io/package/decimal.js-light.md) ^2.5.0
- [@tajswap-libs/taj-swap-core](https://npm.io/package/@tajswap-libs/taj-swap-core.md) 0.1.1

## Recent versions

- 1.0.6 (latest) — 2021-03-15
- 1.0.5 — 2021-03-07
- 1.0.4 — 2021-03-01
- 1.0.3 — 2021-03-01
- 1.0.2 — 2021-02-23

## README

# Tajswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/tajswap/tajswap-sdk/workflows/CI/badge.svg)](https://github.com/tajswap/tajswap-sdk)
[![npm version](https://img.shields.io/npm/v/@tajswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@tajswap-lib/sdk/v/latest)

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

Move into the tajswap-sdk working directory

```sh
cd tajswap-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.
```

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