# @bonfida/aaob

> Webassembly can be used to deserialize orderbooks. By default only the pure JS methods are available, in order to enable Webassembly:

Latest version **0.1.5** (published 2022-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bonfida/aaob
pnpm add @bonfida/aaob
yarn add @bonfida/aaob
bun add @bonfida/aaob
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; large bundle; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2022-12-18 |
| First published | 2021-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 104.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | bonfida |

## Links

- npm: https://www.npmjs.com/package/@bonfida/aaob
- npm.io page: https://npm.io/package/@bonfida/aaob

## Dependencies (4)

- [bs58](https://npm.io/package/bs58.md) 4.0.1
- [bn.js](https://npm.io/package/bn.js.md) ^5.1.3
- [borsh](https://npm.io/package/borsh.md) ^0.6.0
- [@solana/web3.js](https://npm.io/package/@solana/web3.js.md) ^1.15.0

## Recent versions

- 0.1.5 (latest) — 2022-12-18
- 0.1.4 — 2022-08-16
- 0.1.3 — 2022-07-21
- 0.1.2 — 2022-07-16
- 0.1.1 — 2022-07-11
- 0.1.0 — 2022-06-20
- 0.0.6 — 2022-06-16
- 0.0.5 — 2022-05-31
- 0.0.4 — 2022-03-25
- 0.0.3 — 2021-12-14
- 0.0.2 — 2021-12-04

## README

# Asset Agnostic Orderbook JS library

Webassembly can be used to deserialize orderbooks. By default only the pure JS methods are available, in order to enable Webassembly:

1. Install `wasm-pack`: https://rustwasm.github.io/wasm-pack/installer/

2. Add the following to your `package.json`

```json
 "dex-wasm": "file:wasm/pkg"
```

3. Uncomment the Webassembly methods in `slab.ts`

4. Build the library using `yarn build:node`

5. Run `npm install ./wasm/pkg`

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