JSPM

@furkot/import-kml

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q33634F
  • License MIT

Import KML files into node.

Package Exports

  • @furkot/import-kml

Readme

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