UNPKG

geojson-polyline

Version:

Convert GeoJSON coordinates to and from encoded polylines. Supports all major GeoJSON types.

48 lines (47 loc) 1.33 kB
{ "name": "geojson-polyline", "version": "1.0.3", "description": "Convert GeoJSON coordinates to and from encoded polylines. Supports all major GeoJSON types.", "main": "geojson-polyline.js", "bin": { "geojson-polyline": "./bin/cli.js" }, "directories": { "lib": "dist", "test": "test" }, "scripts": { "prepublish": "npm test && npm run dist", "dist": "browserify geojson-polyline.js -s GeoJSONPolyline -o dist/geojson-polyline.js && uglifyjs dist/geojson-polyline.js -o dist/geojson-polyline.min.js", "test": "standard geojson-polyline.js && istanbul cover _mocha" }, "keywords": [ "polyline", "encoded", "geojson" ], "author": "Benjamin Barber", "license": "ISC", "devDependencies": { "browserify": "^16.2.3", "istanbul": "^0.4.5", "mocha": "^5.2.0", "standard": "^12.0.1", "uglifyjs": "^2.4.10" }, "dependencies": { "@mapbox/polyline": "^1.0.0", "JSONStream": "^1.2.1", "event-stream": "3.3.4", "from2-string": "^1.1.0", "object-assign": "^4.1.0" }, "repository": { "type": "git", "url": "git+https://github.com/barberboy/geojson-polyline.git" }, "bugs": { "url": "https://github.com/barberboy/geojson-polyline/issues" }, "homepage": "https://github.com/barberboy/geojson-polyline#readme" }