{"_id":"@astraw/indijs","name":"@astraw/indijs","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@astraw/indijs","version":"0.0.1","author":{"name":"Anthony Hinsinger","email":"anthony.hinsinger@gmail.com"},"license":"ISC","description":"INDI nodejs wrapper","main":"dist/binding.js","types":"dist/binding.d.ts","dependencies":{"node-addon-api":"^8.0.0"},"scripts":{"pretest":"tsc","prepare":"tsc","test":"node --napi-modules ./test/test_binding.js","prebuild":"node-gyp configure","build":"tsc && node-gyp build","install":"node-gyp rebuild"},"gypfile":true,"repository":{"type":"git","url":"git+https://github.com/AST-RAW/indijs.git"},"devDependencies":{"@types/node":"^22.7.4","typescript":"^5.6.2"},"_id":"@astraw/indijs@0.0.1","gitHead":"649006c8fd2bab46b144e0e4fbf37176636427cb","bugs":{"url":"https://github.com/AST-RAW/indijs/issues"},"homepage":"https://github.com/AST-RAW/indijs#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-rtwECMLfvl9N6wHzAkavJZowKd1VmgLj8PcbYelul1EhzB5/wU5Pq1WD0RUHP0RsWRKayjgJOOe70gARBwC8Fg==","shasum":"fd209901d2a1d7f0e9ec6758cc2f68361d83657f","tarball":"https://registry.npmjs.org/@astraw/indijs/-/indijs-0.0.1.tgz","fileCount":19,"unpackedSize":86194,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkxfb68lZaYFw6BTD1PL2jyg1RCzNGn2Pgz3F4hWTUgAIgOFggZyMeZ8Y27AECTG7dxpwE7Y+WkIy+HlMK6hPt1zQ="}]},"_npmUser":{"name":"atoy40","email":"anthony.hinsinger@gmail.com"},"directories":{},"maintainers":[{"name":"atoy40","email":"anthony.hinsinger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indijs_0.0.1_1729769812244_0.08390575358093888"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-24T11:36:52.151Z","0.0.1":"2024-10-24T11:36:52.404Z","modified":"2024-10-24T11:36:52.724Z"},"maintainers":[{"name":"atoy40","email":"anthony.hinsinger@gmail.com"}],"description":"INDI nodejs wrapper","homepage":"https://github.com/AST-RAW/indijs#readme","repository":{"type":"git","url":"git+https://github.com/AST-RAW/indijs.git"},"author":{"name":"Anthony Hinsinger","email":"anthony.hinsinger@gmail.com"},"bugs":{"url":"https://github.com/AST-RAW/indijs/issues"},"license":"ISC","readme":"INDIjs\n===\n\nINDIjs is a nodejs binding of the INDI library. INDI Library is an Open Source Architecture for Control & Automation of Astronomical Devices. It only binds the client part of the library but device part will be added.\n\nInstall\n---\n\nYou'll need INDI library and headers to be able to compile.\n\n```bash\nnpm install @astraw/indijs\n```\n\nUsage\n---\n\n```js\nimport { Client } from \"@astraw/indijs\";\n\nconst client = new Client(\"localhost\");\n\nclient\n  .on(\"connected\", () => { /* code */ })\n  .on(\"disconnected\", (reason_code) => { /* code */ })\n  .on(\"newDevice\", (device) => { /* code */ })\n  .on(\"removeDevice\", (devname) => { /* code */ })\n  .on(\"newProperty\", (property) => { /* code */ })\n  .on(\"updateProperty\", (property) => { /* code */ })\n  .on(\"removeProperty\", (propname, devname) => { /* code */ })\n  .on(\"newMessage\", (device, messageID) => { /* code */ })\n\nclient.connect().then(() => {\n  console.log(\"connected...\");\n});\n```","readmeFilename":"README.md"}