Converts Maps history from Google Takeout to valid GeoJSON.
You can import the file directly:
import { convert } from 'takeout-to-geojson'
import fileData from 'path/to/exported-file.json'
convert(fileData)
You can also view the documentation.
Generated using TypeDoc