# @types/geoflatbush

> TypeScript definitions for geoflatbush

Latest version **1.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/geoflatbush
pnpm add @types/geoflatbush
yarn add @types/geoflatbush
bun add @types/geoflatbush
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-11-07 |
| First published | 2019-07-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/geoflatbush
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geoflatbush
- npm.io page: https://npm.io/package/@types/geoflatbush

## Dependencies (1)

- [flatbush](https://npm.io/package/flatbush.md) ^4.2.0

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.1 (ts4.3) — 2023-06-06
- 1.0.0 (ts2.1) — 2019-07-25
- 1.0.3 — 2023-10-18
- 1.0.2 — 2023-09-20

## README

# Installation
> `npm install --save @types/geoflatbush`

# Summary
This package contains type definitions for geoflatbush (https://github.com/mourner/geoflatbush).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geoflatbush.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geoflatbush/index.d.ts)
````ts
import Flatbush from "flatbush";

/**
 * Performs nearest neighbors queries for geographic bounding boxes, taking Earth curvature and date line wrapping into account.
 *
 * @param maxResults the maximum number of results, default Infinity
 * @param maxDistance distance in kilometers, default Infinity
 */
export function around(
    index: Flatbush,
    longitude: number,
    latitude: number,
    maxResults?: number,
    maxDistance?: number,
    filter?: (index: number) => boolean,
): number[];

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [flatbush](https://npmjs.com/package/flatbush)

# Credits
These definitions were written by [Matt Fedderly](https://github.com/mfedderly).

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