# @skoropletov/binance-api

> A package to work Binance REST and WebSocket APIs, forked from Zoey Garveys's binance (zoeyg/binance) js library

Latest version **0.1.10** (published 2021-01-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @skoropletov/binance-api
pnpm add @skoropletov/binance-api
yarn add @skoropletov/binance-api
bun add @skoropletov/binance-api
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.10 |
| Published | 2021-01-22 |
| First published | 2021-01-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 78 KB |
| Known vulnerabilities | 0 (+25 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Skoropletov |
| Maintainers | alexskoropletov |
| Keywords | api, binance, cryptocurrency |

## Links

- npm: https://www.npmjs.com/package/@skoropletov/binance-api
- Repository: https://github.com/alexskoropletov/binance
- Homepage: https://github.com/alexskoropletov/binance#readme
- Issues: https://github.com/alexskoropletov/binance/issues
- npm.io page: https://npm.io/package/@skoropletov/binance-api

## Dependencies (7)

- [ws](https://npm.io/package/ws.md) ^3.3.1
- [axios](https://npm.io/package/axios.md) ^0.21.1
- [dotenv](https://npm.io/package/dotenv.md) ^8.2.0
- [winston](https://npm.io/package/winston.md) ^3.3.3
- [underscore](https://npm.io/package/underscore.md) ^1.8.3
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^9.0.0
- [@semantic-release/npm](https://npm.io/package/@semantic-release/npm.md) ^7.0.9

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.1.10 (latest) — 2021-01-22
- 0.1.9 — 2021-01-22
- 0.1.8 — 2021-01-22
- 0.1.7 — 2021-01-21
- 0.1.6 — 2021-01-21
- 0.1.5 — 2021-01-21
- 0.1.4 — 2021-01-21
- 0.1.3 — 2021-01-21
- 0.1.2 — 2021-01-21
- 0.1.1 — 2021-01-21
- 0.1.0 — 2021-01-15

## README

![npm downloads](https://img.shields.io/npm/dt/binance.svg)
![testing status](https://img.shields.io/travis/aarongarvey/binance.svg)
![code coverage](https://img.shields.io/coveralls/github/aarongarvey/binance.svg)

# Binance

A library to work with Binance API, written in typescript. Forked from Zoey Garveys's binance (zoeyg/binance) js library.

# Example

```js
import BinanceRest, { BinanceWS, ConfigInterface } from "./index";

(async () => {
  const config: ConfigInterface = {
    key: '<your key goes here>',
    secret: '<your secret goes here>',
  };
  const rest = new BinanceRest(config);
  await rest.ticker24hr({ symbol: 'BTCUSDT' });

  const bws = new BinanceWS();
  bws.onTicker('BTCUSDT', (data) => {
    console.log(data);
  });
})();

```

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