geojsonlint

A better CLI for @mapbox/geojsonhint.

Usage no npm install needed!

<script type="module">
  import geojsonlint from 'https://cdn.skypack.dev/geojsonlint';
</script>

README

geojsonlint

A better CLI for @mapbox/geojsonhint.

Features

Install

$ npm install --global geojsonlint

Usage

$ geojsonlint --help

  A better CLI for @mapbox/geojsonhint.

  Usage:
    geojsonlint [options] <file|glob>...

  Options:
    --disable-precision-warning  Disable the precision warning for coordinates.

  Examples:
    geojsonlint *.geojson
    geojsonlint files/
    geojsonlint --disable-precision-warning precise.geojson

Supports any combination of files and globs, in addition to directories (see globby for a quick cheat-sheet).

License

MIT © Brad Dougherty