Skip to content

furkot/import-nmea

Repository files navigation

NPM version Build Status Dependency Status

@furkot/import-nmea

Import NMEA files into Furkot.

Install

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

Usage

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

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

console.log(trip);

License

MIT © Damian Krzeminski