Using osmtogeojson's flatProperties option would make the resulting geojson more useful by removing the nested geojson property structure (tags, meta, etc.), thus making it more easily processable by other software and tools. (FlatProperties is even the default when using osmtogeojson as a cli tool, but not when using the API directly).
Using osmtogeojson's flatProperties option would make the resulting geojson more useful by removing the nested geojson property structure (tags, meta, etc.), thus making it more easily processable by other software and tools. (FlatProperties is even the default when using osmtogeojson as a cli tool, but not when using the API directly).