Import NMEA files into Furkot.
$ npm install --save @furkot/import-nmea
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);
MIT © Damian Krzeminski