Skip to content

furkot/import-kml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

import furkotImportKml from '@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

About

Import KML into Furkot

Resources

Stars

Watchers

Forks

Packages

No packages published