open-index/open-npm huggingface dataset:
npm package: @mapbox/geojson-thumbnail
Description: Generate thumbnails for GeoJSON features
Author: Mapbox
Latest version: 1.2.1

# geojson-thumbnail [![Build Status](https://travis-ci.org/mapbox/geojson-thumbnail.svg?branch=master)](https://travis-ci.org/mapbox/geojson-thumbnail) [![Coverage Status](https://coveralls.io/repos/github/mapbox/geojson-thumbnail/badge.svg?branch=master)](https://coveralls.io/github/mapbox/geojson-thumbnail?branch=master)

Generate thumbnails for GeoJSON features

```
npm install -g @mapbox/geojson-thumbnail
npm link

export MapboxAccessToken=<your token>
geojson-thumbnail <your-geojson-file> thumb.png
```

![nmatsutbwh](https://user-images.githubusercontent.com/1288339/35072800-247f4dfc-fbb4-11e7-8141-b1abe76125f8.gif)

## [API](API.md#renderthumbnail)

`geojson-thumbnail` exposes an API to render your own custom thumbnails of GeoJSON features.