overpass-frontend
Version:
A JavaScript (NodeJS/Browser) library to easily access data from OpenStreetMap via Overpass API or from an OSM File. The objects can directly be used with LeafletJS or exported to GeoJSON. Data will be cached in the browser memory.
102 lines (101 loc) • 3.25 kB
JSON
{
"name": "overpass-frontend",
"description": "A JavaScript (NodeJS/Browser) library to easily access data from OpenStreetMap via Overpass API or from an OSM File. The objects can directly be used with LeafletJS or exported to GeoJSON. Data will be cached in the browser memory.",
"version": "3.3.3",
"main": "src/OverpassFrontend.js",
"directories": {
"test": "test"
},
"files": [
"dist/overpass-frontend.js",
"src"
],
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"xmlhttprequest": "global:XMLHttpRequest"
},
"dependencies": {
"@turf/bbox-clip": "^6.5.0",
"@turf/boolean-intersects": "^6.5.0",
"@turf/boolean-within": "^6.5.0",
"@turf/buffer": "^6.5.0",
"@turf/difference": "^6.5.0",
"@turf/distance": "^6.5.0",
"@turf/intersect": "^6.5.0",
"@turf/length": "^6.5.0",
"@turf/union": "^6.5.0",
"@xmldom/xmldom": "^0.8.10",
"async": "^3.2.4",
"boundingbox": "^1.4.0",
"browserify-shim": "^3.8.15",
"bzip2": "^0.1.1",
"event-emitter": "^0.3.5",
"lodash": "^4.17.20",
"lokijs": "^1.5.12",
"osmtogeojson": "^3.0.0-beta.5",
"parse-data-url": "^6.0.0",
"strsearch2regexp": "^0.1.1",
"weight-sort": "^1.3.1",
"xmlhttprequest": "*"
},
"overrides": {
"osmtogeojson": {
"@xmldom/xmldom": "~0.8.10"
}
},
"devDependencies": {
"brfs": "^2.0.2",
"browserify": "^17.0.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^5.0.0",
"http-server": "^14.1.1",
"jsdoc": "^4.0.2",
"jsdom": "^17.0.0",
"leaflet": "^1.9.2",
"minify": "^9.1.0",
"mocha": "^11.0.1",
"require-self": "^0.2.3",
"watchify": "^4.0.0"
},
"resolutions": {
"martinez-polygon-clipping": "^0.5.0"
},
"scripts": {
"test": "mocha --bail",
"build": "browserify index.js -o dist/overpass-frontend.js",
"build-test": "browserify -t brfs --debug test/*.js -o dist/test.js",
"build-test-minify": "browserify -t brfs test/*.js -o dist/test.src.js && minify dist/test.src.js > dist/test.js",
"watch": "watchify -t browserify-shim --debug index.js -o dist/overpass-frontend.js -v",
"watch-test": "watchify -t brfs --debug test/*.js -o dist/test.js -v",
"prepublish": "npm run lint && npm run build && npm run doc",
"preversion": "npm run lint && npm run test",
"version": "rm -r doc/ && npm run doc && npm run build && npm run build-test && git add -A doc/ dist/",
"prepare": "require-self",
"lint": "eslint --fix src/*.js src/qlFunctions/*.js src/evaluator/* index.js",
"start": "http-server ./ -p 8000",
"doc": "jsdoc -d doc/ src/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/plepe/overpass-frontend.git"
},
"keywords": [
"OpenStreetMap",
"OSM",
"Overpass"
],
"author": "Stephan Bösch-Plepelits <skunk@xover.mud.at>",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/plepe/overpass-frontend/issues"
},
"homepage": "https://github.com/plepe/overpass-frontend#readme"
}