{"_id":"@codekilo/regexp-jexl-reader","_rev":"4-cff352c31aef87949d20ffac7c2fd6f6","name":"@codekilo/regexp-jexl-reader","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@codekilo/regexp-jexl-reader","version":"1.0.0","description":"Read nmea0183/nmea0183out data, parse it using user definable regex and then apply a jexl expression and map it to a path","main":"index.js","keywords":["signalk-node-server-plugin"],"author":{"name":"Martijn de Munnik","email":"martijndemunnik@protonmail.com"},"license":"Apache-2.0","dependencies":{"jexl":"^2.2.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/codekilo/regexp-jexl-reader.git"},"bugs":{"url":"https://github.com/codekilo/regexp-jexl-reader/issues"},"homepage":"https://github.com/codekilo/regexp-jexl-reader#readme","gitHead":"c5d8a2e18d2a8a46e435ed5cf124468bdd991fd2","_id":"@codekilo/regexp-jexl-reader@1.0.0","_nodeVersion":"10.21.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-E4Fuxz92CPUiCTeqFLPQF5LWSi7KbSBpaB+C+2m67z5F7Bav6cYmdEGVc8rh+zeVpnUfdHNSSuc/VsHxF5ST6w==","shasum":"1e081b49d3079e1203d6faf66238cb0646f63e64","tarball":"https://registry.npmjs.org/@codekilo/regexp-jexl-reader/-/regexp-jexl-reader-1.0.0.tgz","fileCount":2,"unpackedSize":4272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8MqLCRA9TVsSAnZWagAAQbkQAJZdSMsE2ZS/nPrLvoAl\nj5mPyTIiCzUraY1xAelYaBxOdZdPqYxMVp56nEPIMbwupCiTGuJN1Z8mJc3i\nscKp5uSk2BfEJhXOMvzGDvH0RRQuKFRdHCTO1LnCjze68meFBMTF0SyVX52f\nzkTIv9CnTHRfREcWP3+S151UdmEnT4K3dw8dBzaPaaoL0rkgNx0iQgDxm7aE\naOAXGhUEGaQ6u4E/ltqy/W18sM+LzaRoLhKq7uE52lHQCV1Wq+s0TtHBAwHs\nIPLoE+QvLdIbT1EX0YOG/+rSzXX7EzBbhF8sN9wWgU1s68S5bzwr1TgJiUOx\nOeIlDPuyLuzv/UTHLRaviqIHDXpmynT+Jv/pOUueOl89gfBdor64xGT2dM4/\nzOzMhstcr2uqa1e5wj8OFjXKLvrdI3DDthSoEByL0Iu004/UH/W9ZvJV5ry1\nZPZv0CtV40DwjHDnLeEr81QxKq2kdfOJIUCfKqJno9Ink96HyBeFQwPYSOUR\nZtqnOr7soNgldDFczAeH6wjOmC77PoXtED7DaJcJ7WVGWPh6uZoYVPnQZ5ii\nXQZWiuU8cMoxfFmj4RFQskeUObyVmi8Y6w8DXRn6qYI7Md1CDoEHOxsF2GOv\n2hMo4aELTVmyFwoOTRipV3kObXxGeMef6UZfOV/Ne+uZ0hZwkDvRkjtbkT5V\nnF6H\r\n=rhvD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxwcrRbyUlGIc1C04HK/7EH6YNmDzpm0w9W5QBIWc66QIgDpnwCp+FzcoUSNQWB3YLGiFoUNfIKGFMAts9Ng95mHg="}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"munnik","email":"martijndemunnik@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-jexl-reader_1.0.0_1592838795316_0.28966231690381283"},"_hasShrinkwrap":false},"1.0.1":{"name":"@codekilo/regexp-jexl-reader","version":"1.0.1","description":"Read nmea0183/nmea0183out data, parse it using user definable regex and then apply a jexl expression and map it to a path","main":"index.js","keywords":["signalk-node-server-plugin"],"author":{"name":"Martijn de Munnik","email":"martijndemunnik@protonmail.com"},"license":"Apache-2.0","dependencies":{"jexl":"^2.2.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/codekilo/regexp-jexl-reader.git"},"bugs":{"url":"https://github.com/codekilo/regexp-jexl-reader/issues"},"homepage":"https://github.com/codekilo/regexp-jexl-reader#readme","gitHead":"a5bc6d5b9257d0d22d5cbe98bebe9fc6960aa1b5","_id":"@codekilo/regexp-jexl-reader@1.0.1","_nodeVersion":"10.21.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ooU15xHKDBEJ9ot33JRH9P3vPOHnkooY128QDKAwovu+5V5S3JQepFYvp3ZFVDEP77FKETqQqThPplUxE1IS+A==","shasum":"ced2587a1572a2eeaef70ed79105002514977770","tarball":"https://registry.npmjs.org/@codekilo/regexp-jexl-reader/-/regexp-jexl-reader-1.0.1.tgz","fileCount":2,"unpackedSize":4272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8M2WCRA9TVsSAnZWagAATZ4P/0jY2eT67GEqz6NzM+nH\nj3t+jxvQx8o2rqQY+dMH0IdP9j0a2aRmYuCsuWkfzXza4JAKqJlRC6HvFq2o\nEqWoOegIcbhk59gNYKqPZvwDwz9kggaxqLxs0w0NL9jFfgPLAvu+7jNY6kyR\nRGcIQmtqfYdsJG2Yv8qYl/7xsMjrVL9JFzrL6cymclJUKYO8jLsK+9vCjK/E\nV2DZg08OZg5GKtncCA7wR1B364H8t4W/UsDH8CYi1jTYwY84D10kiAWuon2e\nvXyei/+vXUdz6PCqZFIadxkJKJl3O0gTuZWNdQDVySyEeujtbrp0yJ1BjzQ/\nZGvvYcB/Jdw0GGaobwK2a/RaxHxDCk4KZUSz+F5l5JqGd/I35hVF5QM00icx\nc8cwa5F//+kS9nUGZQHRf4AyobzSj/82FHZcO4URrX4QVfcA7gXSckM/bNSW\nSrOA5hbOO6EKBI6sf7+qUISNA9piRf1ToGvxVhGNaLYsHKcvxDHQ7aSEnsOH\n0epBSHW7yt21e8W0aWUNb3WTfmrw02/MaEHYgVUrE/+PsONWP6IGPbI+NxPR\nXS4tm2IHNOQAkqFc6D1DRgJwf3RCsWeSlh52afkTX5sW/g7yDsulySJefQEE\n4vUqxDJd0+pj70x9BtcIqMbqVV2BWh7R8eZi9nNo+010jpLzub1HHWAZxFjp\ns8bW\r\n=/Cqr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSrNbSmQF/jrfwl6ay6gcXXXcZX8vW37+ytUA3DONzYAIgHOG8VnV/er3BZIx47xDGYMgSPN1PqqBDNYUws+Jsbwc="}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"munnik","email":"martijndemunnik@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-jexl-reader_1.0.1_1592839574045_0.06453501235633863"},"_hasShrinkwrap":false},"1.0.2":{"name":"@codekilo/regexp-jexl-reader","version":"1.0.2","description":"RegExp Jexl reader","main":"index.js","keywords":["signalk-node-server-plugin"],"author":{"name":"Martijn de Munnik","email":"martijndemunnik@protonmail.com"},"license":"Apache-2.0","dependencies":{"jexl":"^2.2.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/codekilo/regexp-jexl-reader.git"},"bugs":{"url":"https://github.com/codekilo/regexp-jexl-reader/issues"},"homepage":"https://github.com/codekilo/regexp-jexl-reader#readme","gitHead":"80052130d89334487690a2cd225ad70965018df7","_id":"@codekilo/regexp-jexl-reader@1.0.2","_nodeVersion":"10.21.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-geGTsu3EPSfkhTCP6FHFKzw6N80cUZfxI2g4u53uo6sSBs7lVMipdJ14aNQ2mML90hRIFbC+gIRRdPa19BhHbg==","shasum":"9825345bb2a04d1f5e0030f97f30f61e4cc9b3b0","tarball":"https://registry.npmjs.org/@codekilo/regexp-jexl-reader/-/regexp-jexl-reader-1.0.2.tgz","fileCount":2,"unpackedSize":4169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8Qm9CRA9TVsSAnZWagAAsiQP/RZ9mihHvi01HahNTtXg\nmEMAEmV5PmnNHo+ucwr9wYPgCYwvfWW5Raab4Gtf3bd51Gmgzxjmd1kOmPjc\nDVQzYcQkSYzWefKPxPph2i7+rCjn8FcYsXpSAEz49tq1gC2Gq4lmhCp2ToOc\nbH/eIeU5wrWug2SRW4j0PCNdsHLuuP/omroUYqRjEhDiZQZny7zM+lq0I9yg\nAkReZIUPv3cpuBC8K0axPWsix8ttsvIGIdDv5cWkc0+mH8vLMh21RdIb8zPR\ndO03oDRNeD55GLuvIKIkjJlLVjyDaQTJXmCFL5KnDzRBepmNRmIgMv16ByiZ\nFonOwbTIb36Ch6kvAB6Xqi7fRKU4jchKuzvGtY/Ex2JNSyQfLg70WIW5Wmea\n1SQdYQV/uYKL1kyTmkSpwuv+0C7DC3npKYCpsnRPi9z4M0gYspSSJ6gnm4Ce\n/JiBnWQvkYv4e0qfrbi0fEucaqrX6X43GHAoKgC83Q/vCqR/l2UtNjE4aWvU\nLsPpwy6h7mErfqS7gSrdcwkF67akBns6UUY48bWCf78IJnaGyVT2x//+N031\nPeYXC+/oE0adxSgxOtDtIe4BznX/oEp3gci1a7S5gdqpZnRBUmP4grlHKLDQ\n+nchckdQ/F4dVpwcZPAqzoa2flu8EmRJYjR+uaBOFn+/PZIQTz9XvDy/3np9\njjfj\r\n=bXJR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDd7uHY8hR2MDLmmHsSMk4Psg3k0m3ks3MXvBc2fAOBDwIhAP9wM2ifkUshxcyE1nyOd4f8baZTrM88BylnI8KJ/OaU"}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"munnik","email":"martijndemunnik@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-jexl-reader_1.0.2_1592854972883_0.8428106378254354"},"_hasShrinkwrap":false},"1.0.3":{"name":"@codekilo/regexp-jexl-reader","version":"1.0.3","description":"RegExp Jexl reader","main":"index.js","keywords":["signalk-node-server-plugin"],"author":{"name":"Martijn de Munnik","email":"martijndemunnik@protonmail.com"},"license":"Apache-2.0","dependencies":{"jexl":"^2.2.2"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/codekilo/regexp-jexl-reader.git"},"bugs":{"url":"https://github.com/codekilo/regexp-jexl-reader/issues"},"homepage":"https://github.com/codekilo/regexp-jexl-reader#readme","gitHead":"50d36efcec75ffe7932f1a72f1bbda9fc2b0cea8","_id":"@codekilo/regexp-jexl-reader@1.0.3","_nodeVersion":"10.21.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-vTfuB5B4cZt4OuSTIwn7Sdc1re7eHOXbrvq4+Vv474StXrZ1XCY+E5T3Kj5hrI7dymYyzq9i4Z6dEHi6RJ4jqA==","shasum":"9d379ee72da42105be24f9f475b28728c7de5e5d","tarball":"https://registry.npmjs.org/@codekilo/regexp-jexl-reader/-/regexp-jexl-reader-1.0.3.tgz","fileCount":4,"unpackedSize":36218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8Ra1CRA9TVsSAnZWagAABR4P/jWiXDY85h40EvVHlW8M\nZeqgxwOgmJKZml45uQ8LmlWeIIfvUYg8CG9iyD9wUeg+AUQnziHSsaAMHuGw\n9VV2i5vxmHo32FFzI43o5oB71cCw6zpKVWr5OsNEk07fdQvUGymOGAzKWkis\n48IlZfR8mnvCN8HuYTxMdoHAk18ilhY0O8LQsvhvwsLjCCgQmGoOEoWjdtOK\nZgcBZwbmElVQzp2JENxUAhiKz4V7Vz4zSS9qaatCRz2so1VEr2KFlIxDDgae\nY4504hpTe70j4q0iwqexMcAJdVEXfAoOfXRwESUsDBMvfIrddEXScTIbkF/7\n4Md4AdqUvqXcDzqYKPaUf2Htr2SRta1LhY54fQ2gR0xtqdFECPvJd6khHT2n\n0tL/wbZq7JQbE3AdHu722WA3PyYAeCCjQV8WpC8+Yghl8jDIdYAjoTCZnDj5\nvZNnddHkITogWUHZlm9iHOK28/2B7THMXzsPKU7JOKzVppP9bOMMUNvWkbSz\nlYjnbp/uSSdzJZ8QHsmjxfdj7jvzXpmb8iO3lH6XLo8gTkVhV0/pUfq5kd04\n6kZ7mo7zdDSP+APDkLw3EbARMOkc9ouLFPoYuoAMNDNg+keiqE3aMjt/G1pU\nQlqjtUSDJYk3sL2mfejobmI3uma51nb2SoEAhMnd6ilhYCb0cSojcfU3xflX\nRUvC\r\n=ibH2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtGbs/jXqUrB/OaB8FB7k3PidPwvSciN0blniYZeHXoQIgGvmkDwweGqdTL+cBNKsfoe8DJBXKBghxH2T4QhFzgsc="}]},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"_npmUser":{"name":"munnik","email":"martijndemunnik@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regexp-jexl-reader_1.0.3_1592858292929_0.4626124301248935"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-22T15:13:15.049Z","1.0.0":"2020-06-22T15:13:15.439Z","modified":"2022-04-05T00:03:10.640Z","1.0.1":"2020-06-22T15:26:14.154Z","1.0.2":"2020-06-22T19:42:53.004Z","1.0.3":"2020-06-22T20:38:13.153Z"},"maintainers":[{"name":"albert-smit","email":"albertsmit93@gmail.com"},{"name":"munnik","email":"martijndemunnik@protonmail.com"}],"description":"RegExp Jexl reader","homepage":"https://github.com/codekilo/regexp-jexl-reader#readme","keywords":["signalk-node-server-plugin"],"repository":{"type":"git","url":"git+https://github.com/codekilo/regexp-jexl-reader.git"},"author":{"name":"Martijn de Munnik","email":"martijndemunnik@protonmail.com"},"bugs":{"url":"https://github.com/codekilo/regexp-jexl-reader/issues"},"license":"Apache-2.0","readme":"# regexp-jexl-reader\nRead data from the nmea0183 and nmea0183out stream and parse that using regular expressions and jexl\n\nExample to parse the [PASHR Message](https://www.hemispheregnss.com/technical-resource-manual/Import_Folder/PASHR_Message.htm):\n![screenshor](https://github.com/codekilo/regexp-jexl-reader/blob/master/screenshot.png?raw=true)\n\nIn this example the regular expression is `^\\$PASHR,([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)`. When an incomming line matches this regular expression all corresponding calculations are applied. A calculation consist of a Jexl expression and a SignalK path. In the Jexl expression the variable `m` can be used to retrieve the results of the regular expression match. `m[4]` is the value of the 4th group in the regular expression. The expression in this example are `{roll: m[4] * 0.01745329252, pitch: m[5] * 0.01745329252}` and `m[2] * 0.01745329252`\n","readmeFilename":"README.md"}