geojson-extent
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "geojson-extent", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "compute the bounding box of geojson features", | ||
@@ -10,2 +10,5 @@ "main": "index.js", | ||
}, | ||
"bin": { | ||
"geojson-extent": "./bin/geojson-extent" | ||
}, | ||
"repository": { | ||
@@ -31,3 +34,4 @@ "type": "git", | ||
"extent": "0.1.0", | ||
"geojson-coords": "0.0.0" | ||
"geojson-coords": "0.0.0", | ||
"rw": "~0.1.4" | ||
}, | ||
@@ -34,0 +38,0 @@ "devDependencies": { |
@@ -21,2 +21,18 @@ ![](http://img.shields.io/travis/mapbox/geojson-extent.svg?style=flat) | ||
## bin | ||
Provides a binary that takes GeoJSON as stdin and returns a JSON stringified | ||
array of extent data. | ||
```sh | ||
$ npm install -g geojson-extent | ||
$ geojson-extent < file.geojson | ||
``` | ||
Given an argument of `leaflet`, this will return Leaflet-formatted data instead. | ||
```sh | ||
$ geojson-extent leaflet < file.geojson | ||
``` | ||
## api | ||
@@ -23,0 +39,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10221
8
48
3