{"_id":"@csdts/csdt-arduino","_rev":"3-96ddcc4c064ff17c3896e9aa9147d54e","name":"@csdts/csdt-arduino","dist-tags":{"latest":"1.7.4"},"versions":{"1.7.4":{"name":"@csdts/csdt-arduino","version":"1.7.4","description":"A tool to visualize Arduino data in the browser.","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ethanmriley/node-arduino.git"},"keywords":["Arduino","Plotly.js","data","visualize"],"author":{"name":"Orig. Ethan Riley - Current Silly Ivnentor","email":"SillyInventor@gmail.com","url":"https://github.com/SillyInventor"},"license":"ISC","bugs":{"url":"https://github.com/CSDTs/node-arduino/issues"},"homepage":"https://github.com/CSDTs/node-arduino#readme","dependencies":{"commander":"^2.11.0","opn":"^5.1.0","serialport":"4.0.7","ws":"3.1.0"},"bin":{"csdt-arduino":"./node-arduino.js"},"gitHead":"a97f7acf461e26f919706a774ffdd98d619c956d","_id":"@csdts/csdt-arduino@1.7.4","_npmVersion":"5.6.0","_nodeVersion":"8.3.0","_npmUser":{"name":"sillyinventor","email":"SillyInventor@gmail.com"},"dist":{"integrity":"sha512-fbeQ0HOQqkAr9FHWOpts1AlaL8l7BUSRD8qTeYrLRUeSqLDYiNoLAKM0mYyRpn+UCu+tqbqS0fE6VH40Lbncvg==","shasum":"26862a3b4e6d3606059061b5934bf962b2f0ddce","tarball":"https://registry.npmjs.org/@csdts/csdt-arduino/-/csdt-arduino-1.7.4.tgz","fileCount":30,"unpackedSize":7205143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx5b5CRA9TVsSAnZWagAAXj8P/RyDD5EK018TAAGjlHwo\nzRVJQuvcfoK0HO6g07IzVeU5FLi02QhORDv/OC3+w4RcFeuryVFxZZ2CrjKA\nvnw38bhDef4e0/D3z9b7TN3qM+PjSxJ0jgt/4sx8579g5fqQUlUI5hZvKu/Q\nC3SkYkrMrsohj5DYnvwNG6hktfBQZpoNdu8t9uCDNMvg5Bf2GaktZ9se7XBR\n5pT+cVzc7dA6T+K6Kt8/oAnfer7xRFUTpFRew+I1DNFJA+1rpcOiBvq35NQy\nHH58sCiMyprOB1mYNa13wi/CJcHNglCAFz7bFWzcA+G9j0H4lVEonXAStTiP\n/XBVinTOj7v1cl9xB/7fCqDAYj3KzoCnDprMJFbBiB3IQqIqu9AM1Z01c4sQ\nNJgqumotkVWxC1xdWHG2wvD25XrmhMD77nVL3P19Dkha3VqDNUWYNYq+Tmv+\ni2d5wH4jYGPyJ6MlonGerMPtOw8xV4H8KkkrA6qIkdtht98sENnHTID/uoy6\nV1xeWlKaQktqpxz846WAgJ+hEww2LiY4pdmzIC/2ZeN8BnAkyjyiByWQg4b0\n2JbQX93kdQ28BFBr6WLU9/baB2KsbHHO//NEREUcH5Q3hBJ5Kjv1cYUHznXg\nS38vKbcor6RaXtRnfEsj+ExhqDfqxIidU/jhbV8FkFRZ3Rkn9IbSaOTehEg6\n1oSV\r\n=3eD5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMZuFZvBP2OGKpqkZDllkkNtRZ5Pzn3KWsmhNG3PWTqAIhAPfDXzTqnHkHVvAHgR89ibAc3qeLfreFLX2Uw88udNWl"}]},"maintainers":[{"name":"sillyinventor","email":"SillyInventor@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/csdt-arduino_1.7.4_1539806968843_0.5351122154617884"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-17T20:09:28.682Z","1.7.4":"2018-10-17T20:09:29.194Z","modified":"2022-04-05T02:01:44.568Z"},"maintainers":[{"email":"ryanholm@gmail.com","name":"ryaholm"},{"email":"babbiw2@rpi.edu","name":"babbitt2003"},{"email":"SillyInventor@gmail.com","name":"sillyinventor"}],"description":"A tool to visualize Arduino data in the browser.","homepage":"https://github.com/CSDTs/node-arduino#readme","keywords":["Arduino","Plotly.js","data","visualize"],"repository":{"type":"git","url":"git+https://github.com/ethanmriley/node-arduino.git"},"author":{"name":"Orig. Ethan Riley - Current Silly Ivnentor","email":"SillyInventor@gmail.com","url":"https://github.com/SillyInventor"},"bugs":{"url":"https://github.com/CSDTs/node-arduino/issues"},"license":"ISC","readme":"# ```node-arduino```\n```Node.js``` app to visualize Arduino data in-browser\n\n## Installing\n\nInstall this globally and you'll have access to the ```node-arduino``` command anywhere on your system.\n\n```npm install -g node-arduino```\n\n\n## Usage\n```node-arduino``` functions as a server, reading data from a serial port, and sending this data out through a web socket on port 8080.\nThe native ```WebSocket``` browser object is used as the client in this connection.\n\n### Visualizers\n\n```visualizers/``` in the ```node-arduino``` install directory contains the HTML and browser-side JavaScript for a variety of client visualizers:\n* graph - graphing utility using ```plotly.js```\n* chroma - pH visualizer using ```chroma.js```\n* color-scale - pH visualizer using a sliding, color-coded scale\n\n\n### Command-line flags\n\n* ```-p --port```\n\n   Specify a serial port to connect to.\n\n   \"```node-arduino -p /dev/ttyACM0```\"\n\n* ```-b --baud```\n\n   Specify a baud rate for serial connection. Defaults to 9600 baud.\n\n   \"```node-arduino -B 19200```\"\n\n* ```-v --visualizer```\n\n   Specify a visualizer to use with ```node-arduino```. Defaults to ```graph```.\n\n   \"```node-arduino -v color-scale```\"\n\n* ```-d --delimiter```\n\n   Specify delimiter character(s) for parsing serial data. Defaults to ```\\r\\n```, the ```Serial.println()``` delimiter. \n\n   \"```node-arduino -d \\n```\"\n\n## Arduino sketches for ```node-arduino```\n\nnode-arduino will receive any information sent over the serial connection--just use the built-in ```Serial.println()``` function.\n\nThe graph visualizer interprets data based on headers; data should be formatted \"header: value\", where the header is something like \"temp: \" and the value is \"21.50\".\n\n\n##### Please send any questions, comments, or bug reports to ethanmriley@gmail.com\n","readmeFilename":"README.md"}