UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

16 lines (13 loc) 286 B
const toNumber = require("strnum"); class numParser{ constructor(options){ this.options = options; } parse(val){ if (typeof val === 'string') { val = toNumber(val,this.options); } return val; } } module.exports = numParser;