# geostyler-style

> [![Lint & Docs (main)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml/badge.svg)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml) [![Create & publish versioned documentation](https://github

Latest version **13.1.0** (published 2026-09-30) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install geostyler-style
pnpm add geostyler-style
yarn add geostyler-style
bun add geostyler-style
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 13.1.0 |
| Published | 2026-09-30 |
| First published | 2018-05-15 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.19.0 |
| Dependencies | 0 |
| Unpacked size | 1.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 21 |
| Maintainers | jansule, annarieger, terrestris-info, marcjansen, dnlkoch, ahennr, buehner, hwbllmnn, lukaslohoff, mholthausen, jorzekowsky, hblitza, jweskamm, kdannies, ntreff, kaivolland, simonseyock, bgerber, chrismayer |

## Links

- npm: https://www.npmjs.com/package/geostyler-style
- Repository: https://github.com/geostyler/geostyler-style
- Homepage: https://github.com/geostyler/geostyler-style#readme
- Issues: https://github.com/geostyler/geostyler/issues
- Funding: https://opencollective.com/geostyler
- npm.io page: https://npm.io/package/geostyler-style

## Recent versions

- 13.1.0 (latest) — 2026-09-30
- 9.0.0-next.5 (next) — 2024-06-20
- 13.0.0 — 2026-09-09
- 12.0.0 — 2026-04-23
- 11.1.0 — 2026-04-20
- 11.0.2 — 2026-01-30
- 11.0.1 — 2026-01-29
- 11.0.0 — 2026-01-29
- 10.5.0 — 2025-09-18
- 10.4.0 — 2025-09-03
- 10.3.0 — 2025-06-10
- 10.2.0 — 2025-06-06
- 10.1.0 — 2025-06-04
- 10.0.0 — 2025-02-05
- 9.2.0 — 2024-11-26
- … 59 more at https://npm.io/package/geostyler-style/versions

## README

# geostyler-style

[![Lint & Docs (main)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml/badge.svg)](https://github.com/geostyler/geostyler-style/actions/workflows/on-push-main.yml)
[![Create & publish versioned documentation](https://github.com/geostyler/geostyler-style/actions/workflows/on-publish.yml/badge.svg)](https://github.com/geostyler/geostyler-style/actions/workflows/on-publish.yml)
[![License](https://img.shields.io/github/license/geostyler/geostyler-style)](https://github.com/geostyler/geostyler-style/blob/main/LICENSE)

TypeScript Declaration File for the [GeoStyler](https://github.com/geostyler/geostyler) Style.

## :rocket: GeoStyler Code Sprint 2026

We are happy to announce the next **online-only** GeoStyler Code Sprint from **28.-30.09.2026**. Be part of it! More infos on https://geostyler.org.

### Documentation

https://geostyler.github.io/geostyler-style/docs/main/

### Why another style format?

The *Geostyler Style* is not primarily intended to be a new standard for styling geographic data.

The main task of the format is to be an **exchange format** for all the other standards. It should be
capable of storing the styling possibilities of SLD, OpenLayers-Styles, MapBox-Styles, CartoCSS (and others)
while being easily read- and writable.

On the other hand it is used by the [GeoStyler](https://github.com/geostyler/geostyler) to build the UI components. This
way you should be able to configure any type of style via UI and also translate between all supported formats (in theory :grin:).

### TypeGuards

In addition to the definition itself, there are some custom [TypeGuards](https://basarat.gitbook.io/typescript/type-system/typeguard#user-defined-type-guards) that can be used as utility methods to enhance the coding experience with the geostyler-style.

```typescript
import { isFilter, isSymbolizer } from 'geostyler-style';
// or
import { isFilter, isSymbolizer } from 'geostyler-style/dist/typeguards';
```

## <a name="funding"></a>Funding & financial sponsorship

Maintenance and further development of this code can be funded through the
[GeoStyler Open Collective](https://opencollective.com/geostyler). All contributions and
expenses can transparently be reviewed by anyone; you see what we use the donated money for.
Thank you for any financial support you give the GeoStyler project 💞

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