Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
NMEA2000IK: options => {
const result = [new CanboatJs(options.subOptions)]
if (options.type === 'FileStream') {
result.push(
new TimestampThrottle({
getMilliseconds: msg => {
return msg.timer * 1000
}
})
)
} // else
{
result.unshift(new iKonvert(options.subOptions))
}
return result.concat([new N2kToSignalK(options.subOptions)])
},
NMEA2000YD: options => {