# cdata

> Library of data structures

Latest version **0.1.3** (published 2018-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install cdata
pnpm add cdata
yarn add cdata
bun add cdata
```

## Health

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

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

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2018-11-01 |
| First published | 2017-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Juha Järvi |
| Maintainers | jjrv |

## Links

- npm: https://www.npmjs.com/package/cdata
- Repository: https://github.com/charto/cdata
- Homepage: https://github.com/charto/cdata#readme
- Issues: https://github.com/charto/cdata/issues
- npm.io page: https://npm.io/package/cdata

## Recent versions

- 0.1.3 (latest) — 2018-11-01
- 0.1.1 — 2017-07-13
- 0.1.0 — 2017-07-12

## README

cdata
=====

[![build status](https://travis-ci.org/charto/cdata.svg?branch=master)](http://travis-ci.org/charto/cdata)
[![npm version](https://img.shields.io/npm/v/cdata.svg)](https://www.npmjs.com/package/cdata)

This is a library of generic and efficient data structures written in TypeScript.
Currently only one is provided.

`BinaryHeap`
------------

This is a classic binary heap with O(lon(n)) insert, delete-min and decrease-key
(assuming a min-heap). The comparison function is user-provided to support a
min-heap or max-heap of arbitrary items.

License
=======

[The MIT License](https://raw.githubusercontent.com/charto/cdata/master/LICENSE)

Copyright (c) 2017- BusFaster Ltd

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