osm2geojson-lite
Version:
a lightweight yet faster osm (either in xml or in json formats) to geojson convertor - 4x faster than xmldom + osmtogeojson in most situations - implemented in pure JavaScript without any 3rd party dependency
69 lines (68 loc) • 1.66 kB
JSON
{
"name": "osm2geojson-lite",
"version": "2.0.1",
"description": "a lightweight yet faster osm (either in xml or in json formats) to geojson convertor - 4x faster than xmldom + osmtogeojson in most situations - implemented in pure JavaScript without any 3rd party dependency",
"author": "tibetty",
"license": "MIT",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.mjs",
"dist/**/*.d.ts",
"dist/**/*.json"
],
"scripts": {
"build": "rolldown -c && cp src/polytags.json dist/",
"test": "vitest test/e2e.test.ts --coverage"
},
"optionalDependencies": {
"@types/geojson": "^7946.0.16"
},
"devDependencies": {
"@types/node": "^24.12.2",
"@vitest/coverage-v8": "^4.1.5",
"rolldown": "^1.0.0-rc.18",
"rolldown-plugin-dts": "^0.24.1",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"bin": {
"osm2geojson-lite": "dist/cli.mjs"
},
"directories": {
"lib": "lib",
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tibetty/osm2geojson-lite.git"
},
"bugs": {
"url": "https://github.com/tibetty/osm2geojson-lite/issues"
},
"homepage": "https://github.com/tibetty/osm2geojson-lite#readme",
"keywords": [
"openstreetmap",
"overpass",
"osm",
"json",
"xml",
"node",
"way",
"relation",
"geojson",
"linestring",
"multilinestring",
"polygon",
"multipolygon"
]
}