Realized I hadn't published the work already done on putting BeagleBone AI GPIO pins into the node.js BoneScript library.
Any testing on this version would really be appreciated.
debian@beaglebone:/var/lib/cloud9/sensors$ cd /usr/local/lib
debian@beaglebone:/usr/local/lib$ sudo npm install --unsafe-perm bones...@0.7.4-beta1
npm WARN deprecated coffee...@1.9.1: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated js...@3.2.6: Please use the native JSON object instead of JSON 3
npm WARN deprecated js...@3.3.2: Please use the native JSON object instead of JSON 3
col...@1.0.3 node_modules/winston/node_modules/colors -> node_modules/colors
cy...@1.0.3 node_modules/winston/node_modules/cycle -> node_modules/cycle
ey...@0.1.8 node_modules/winston/node_modules/eyes -> node_modules/eyes
isst...@0.1.2 node_modules/winston/node_modules/isstream -> node_modules/isstream
pkg...@0.3.1 node_modules/winston/node_modules/pkginfo -> node_modules/pkginfo
stack...@0.0.10 node_modules/winston/node_modules/stack-trace -> node_modules/stack-trace
/usr/local/lib
└─┬ bones...@0.7.4-beta1
└── win...@2.1.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/sensortag/node_modules/noble/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-con...@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/usr/local/lib/package.json'
npm WARN lib No description
npm WARN lib No repository field.
npm WARN lib No README data
npm WARN lib No license field.
debian@beaglebone:/usr/local/lib$ node -pe "require('bonescript').bone.getPinObject('p9.15').ai.gpio"
76