@furkot/import-gpx

3.0.0 • Public • Published

NPM version Build Status Dependency Status

@furkot/import-gpx

Import GPX for Furkot

Install

$ npm install --save @furkot/import-gpx

Usage

Use as a transform stream: pipe network responses, files etc. and listen on data event.

const furkotImportGpx = require('@furkot/import-gpx');
const { body } = await fetch('https://example.com/my.gpx');
const from = body.pipeThrough(new TextDecoderStream());
const trip = await furkotImportGpx(from);

console.log(trip);

License

MIT © Damian Krzeminski

Package Sidebar

Install

npm i @furkot/import-gpx

Weekly Downloads

1

Version

3.0.0

License

MIT

Unpacked Size

8.56 kB

Total Files

4

Last publish

Collaborators

  • pirxpilot
  • melitele