JSPM

@furkot/import-kml

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q23991F
  • License MIT

Import KML files into node.

Package Exports

  • @furkot/import-kml
  • @furkot/import-kml/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@furkot/import-kml) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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