# points-cluster

> A fork of supercluster mapbox library.

Latest version **0.1.4** (published 2016-02-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install points-cluster
pnpm add points-cluster
yarn add points-cluster
bun add points-cluster
```

## 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.4 |
| Published | 2016-02-03 |
| First published | 2016-01-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Vladimir Agafonkin |
| Maintainers | istarkov |
| Keywords | clustering, geospatial, markers |

## Links

- npm: https://www.npmjs.com/package/points-cluster
- npm.io page: https://npm.io/package/points-cluster

## Dependencies (3)

- [rbush](https://npm.io/package/rbush.md) ^1.4.1
- [lodash](https://npm.io/package/lodash.md) ^4.1.0
- [invariant](https://npm.io/package/invariant.md) ^2.2.0

## Recent versions

- 0.1.4 (latest) — 2016-02-03
- 0.1.3 — 2016-02-01
- 0.1.2 — 2016-01-29
- 0.1.1 — 2016-01-29
- 0.1.0 — 2016-01-29

## README

[![Build Status](https://travis-ci.org/istarkov/supercluster.svg?branch=master)](https://travis-ci.org/istarkov/supercluster)

A fork of https://github.com/mapbox/supercluster library,

Added points array to cluster.

Removed lat lng transformations on Add.

```js
const cl = supercluster([
  { lat: 10, lng: 10 },
  { lat: 10.1, lng: 10.1 },
  { lat: 12, lng: 12 },
  { lat: 84, lng: 179 },
]);

const r = cl({ bounds: { nw: { lat: 85, lng: -180 }, se: { lat: -85, lng: 180 } }, zoom: 2 });
```

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