# @danmarshall/deckgl-typings

> TypeScript declaration files for deck.gl

Latest version **4.9.28** (published 2023-03-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @danmarshall/deckgl-typings
pnpm add @danmarshall/deckgl-typings
yarn add @danmarshall/deckgl-typings
bun add @danmarshall/deckgl-typings
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.9.28 |
| Published | 2023-03-06 |
| First published | 2018-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 311.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 110 |
| Author | Dan Marshall |
| Maintainers | danmarshall |
| Keywords | deck.gl, TypeScript |

## Links

- npm: https://www.npmjs.com/package/@danmarshall/deckgl-typings
- Repository: https://github.com/danmarshall/deckgl-typings
- Homepage: https://github.com/danmarshall/deckgl-typings#readme
- Issues: https://github.com/danmarshall/deckgl-typings/issues
- npm.io page: https://npm.io/package/@danmarshall/deckgl-typings

## Dependencies (3)

- [@types/react](https://npm.io/package/@types/react.md) *
- [@types/hammerjs](https://npm.io/package/@types/hammerjs.md) ^2.0.36
- [indefinitely-typed](https://npm.io/package/indefinitely-typed.md) ^1.1.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 4.9.28 (latest) — 2023-03-06
- 4.9.27 — 2022-09-22
- 4.9.26 — 2022-09-08
- 4.9.25 — 2022-07-29
- 4.9.24 — 2022-05-11
- 4.9.23 — 2022-05-11
- 4.9.22 — 2022-04-14
- 4.9.21 — 2022-04-04
- 4.9.20 — 2022-04-01
- 4.9.19 — 2022-03-25
- 4.9.18 — 2022-03-25
- 4.9.17 — 2022-03-23
- 4.9.16 — 2022-03-21
- 4.9.15 — 2022-02-28
- 4.9.14 — 2022-02-24
- … 105 more at https://npm.io/package/@danmarshall/deckgl-typings/versions

## README

# deckgl-typings

TypeScript declaration files for [deck.gl](https://deck.gl/#/documentation/)

This is a work in progress - see the [issues list](https://github.com/danmarshall/deckgl-typings/issues)

```
npm install @danmarshall/deckgl-typings
```

These will automatically appear in your projects `node_modules/@types` folder, thanks to [indefinitely-typed](https://github.com/danmarshall/indefinitely-typed#readme).

Then it is possible to link the mappings in your project so typescript can find them (since the project is not in @types yet).

Create a new file like `deckgl.d.ts` (although it could be named anything ending in `.d.ts`) in your `src/` directory with the following code:

```
import * as DeckTypings from "@danmarshall/deckgl-typings"
declare module "deck.gl" {
    export namespace DeckTypings {}
}
```

## Version mapping

| deck.gl version | deckgl-typings version |
| --------------- | ---------------------- |
| 5.x.x           | 1.x.x                  |
| 6.x.x           | 2.x.x                  |
| 7.x.x           | 3.x.x                  |
| 8.x.x           | 4.x.x                  |

## Known issues

These typings are now v4 which targets deck.gl v8. The following issues are changes to v8 from deck.gl v7 which have not been added to these typings:

- [ ] [It is now possible to replace a layer's accessors with binary data attributes.](https://github.com/uber/deck.gl/blob/master/docs/whats-new.md#better-binary-data-support)
- [ ] [GPU filtering for layers](https://github.com/uber/deck.gl/blob/master/docs/whats-new.md#gpu-data-filter-in-aggregation-layers) - Adds a [getFilterValue](https://github.com/uber/deck.gl/blob/master/docs/api-reference/extensions/data-filter-extension.md#getfiltervalue-function) to some layers.
- [ ] [Optional specifying the \_framebuffer prop of Deck.](https://github.com/uber/deck.gl/blob/master/docs/whats-new.md#other-new-features-and-improvements)
- [ ] [Pick a 3d surface point in the scene](https://github.com/uber/deck.gl/blob/master/docs/whats-new.md#other-new-features-and-improvements) by passing unproject3D: true to deck.pickObject or deck.pickMultipleObjects.
- [ ] ArcLayer supports drawing arcs between two 3D positions
- [ ] 64-bit positions are now 3D instead of 2D
- [ ] FirstPersonView now supports pitch
- [ ] FlyToInterpolator now supports duration: 'auto'.

## 🙏

Thanks to the community of contributors for adding many typings over the last few months. Please feel free to continue fixes for the above or any other issues. 🥂

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