UNPKG

@signalk/nmea0183-signalk

Version:

A node.js/javascript parser for NMEA0183 sentences. Sentences are parsed to Signal K format.

10 lines 376 B
/** * transformSource.ts * * Checks if the "source" key in each update is an object; creates the object * when it's a string (or absent). Returns the passed-in `data` unchanged if * it's not a delta object. */ declare function transformSource<T>(data: T, sentence: string, talker: string): T; export default transformSource; //# sourceMappingURL=transformSource.d.ts.map