1.0.0 • Published 2 years ago

@furkot/import-nmea v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

1.0.0

2 years ago