# @types/leaflet-curve

> TypeScript definitions for leaflet-curve

Latest version **0.1.6** (published 2025-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/leaflet-curve
pnpm add @types/leaflet-curve
yarn add @types/leaflet-curve
bun add @types/leaflet-curve
```

## Health

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

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

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2025-09-03 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51440 |
| Maintainers | types |

## Links

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

## Dependencies (1)

- [@types/leaflet](https://npm.io/package/@types/leaflet.md) ^1.9

## Recent versions

- 0.1.6 (latest) — 2025-09-03
- 0.1.5 (ts4.5) — 2023-11-07
- 0.1.3 (ts4.3) — 2023-08-30
- 0.1.2 (ts3.0) — 2019-08-26
- 0.1.1 (ts2.3) — 2017-11-09
- 0.1.0 (ts2.0) — 2017-08-29
- 0.1.4 — 2023-10-18
- 0.0.30 — 2017-03-29
- 0.0.29 — 2016-09-21
- 0.0.28 — 2016-09-19
- 0.0.27 — 2016-07-14
- 0.0.26-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- … 5 more at https://npm.io/package/@types/leaflet-curve/versions

## README

# Installation
> `npm install --save @types/leaflet-curve`

# Summary
This package contains type definitions for leaflet-curve (https://github.com/onikiienko/Leaflet.curve).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-curve.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-curve/index.d.ts)
````ts
import * as L from "leaflet";

declare module "leaflet" {
    class Curve extends Path {
        /*
         * Return path
         */
        getPath(): Array<string | Array<[]>>;
        /*
         * Set path
         */
        setPath(): Curve;
        /*
         * Get bounds
         */
        getBounds(): LatLngBounds;
        /*
         * Get center
         */
        getCenter(): LatLng;
    }
    /*
     * Drawing Bezier curves and other complex shapes.
     */
    function curve(path: any[], options?: PathOptions): Curve;
}

````

### Additional Details
 * Last updated: Wed, 03 Sep 2025 08:02:47 GMT
 * Dependencies: [@types/leaflet](https://npmjs.com/package/@types/leaflet)

# Credits
These definitions were written by [Onikiienko](https://github.com/onikiienko), and [Andrea](https://github.com/AndreaCimini).

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