Build a query for the OSM Overpass API that retrieves all elements within the bounding feature
$ npm install osm-build-query
OSMBuildQuery(key, bounds)
key: string, Tag name
bounds: object, GeoJSON bounding feature
Returns
object, with data property that contains the query string
Install the development dependencies:
$ npm install
Then run the tests:
$ npm test
Install the development dependencies:
$ npm install
Then run coverage
$ npm run coverage
View coverage reports
$ firefox coverage/lcov-report/index.html
$ npm run build