osqueryi has `--json` output which should help if ...
# general
g
osqueryi has
--json
output which should help if you're shelling out to run queries, but if you end up writing nodejs bindings for thrift, let us know 🙂