@furkot/import-kml

2.0.0 • Public • Published

NPM version Build Status

@furkot/import-kml

Import KML files into Furkot road trip planner.

Install

$ npm install --save furkot-import-kml

Usage

Use with a web transform stream: pipe network responses, files etc.

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

console.log(trip);

License

MIT © Damian Krzeminski

Package Sidebar

Install

npm i @furkot/import-kml

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

5.11 kB

Total Files

4

Last publish

Collaborators

  • pirxpilot
  • melitele