# @types/spatialite

> TypeScript definitions for spatialite

Latest version **0.0.8** (published 2025-02-08) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2025-02-08 |
| First published | 2017-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51381 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/sqlite3](https://npm.io/package/@types/sqlite3.md) <4

## Recent versions

- 0.0.8 (latest) — 2025-02-08
- 0.0.7 (ts4.5) — 2023-11-07
- 0.0.4 (ts3.8) — 2021-12-16
- 0.0.3 (ts2.0) — 2019-02-13
- 0.0.6 — 2023-10-18
- 0.0.5 — 2023-09-25
- 0.0.2 — 2017-08-21
- 0.0.1 — 2017-03-31
- 0.0.0 — 2017-01-19

## README

# Installation
> `npm install --save @types/spatialite`

# Summary
This package contains type definitions for spatialite (https://github.com/zhm/node-spatialite).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spatialite.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spatialite/index.d.ts)
````ts
export { cached, OPEN_CREATE, OPEN_READONLY, OPEN_READWRITE, RunResult, Statement, verbose } from "sqlite3";
import { Database as OriginalDatabase } from "sqlite3";

export class Database extends OriginalDatabase {
    spatialite(cb: (err: Error) => void): void;
}

````

### Additional Details
 * Last updated: Sat, 08 Feb 2025 07:02:42 GMT
 * Dependencies: [@types/sqlite3](https://npmjs.com/package/@types/sqlite3)

# Credits
These definitions were written by [Arne Schubert](https://github.com/atd-schubert).

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