UNPKG

@mapwhit/style-expressions

Version:
36 lines (23 loc) 1.14 kB
[![NPM version][npm-image]][npm-url] [![Build Status][build-image]][build-url] [![Dependency Status][deps-image]][deps-url] # style-expressions Module to process expressions in map style. Based on the code for expressions processing in [maplibre-gl-js] (an open-source fork of [mapbox-gl-js], before their switch to a non-OSS license in December 2020.) ## Install ```sh $ npm install --save style-expressions ``` ## Usage ```js const styleExpressions = require('style-expressions'); ``` ## License BSD-3-Clause © [Natalia Kowalczyk](https://melitele.me) [npm-image]: https://img.shields.io/npm/v/style-expressions [npm-url]: https://npmjs.org/package/style-expressions [build-url]: https://github.com/mapwhit/style-expressions/actions/workflows/check.yaml [build-image]: https://img.shields.io/github/actions/workflow/status/mapwhit/style-expressions/check.yaml?branch=main [deps-image]: https://img.shields.io/librariesio/release/npm/style-expressions [deps-url]: https://libraries.io/npm/style-expressions [mapbox-gl-js]: https://github.com/mapbox/mapbox-gl-js [maplibre-gl-js]: https://github.com/maplibre/maplibre-gl-js