{"_id":"2n-helios-client","_rev":"9-49ad743b3ff3a7e27a4de4f40f5ca771","name":"2n-helios-client","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"2n-helios-client","version":"1.0.0","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.0","gitHead":"00d9994c530cde2024d9596f268e61fac6d65f3c","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-a1z+5QYUQ3jN8+wip0YXxRF92rtP8TWqgwyB5vZNGvRGpDO0Q4qg0wgxQWkwLdZAUQlR7Cb0SKvpXXsFXOfwVQ==","shasum":"4d24a11acef6e37a485240ade927d159dce71a0c","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.0.tgz","fileCount":6,"unpackedSize":15227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMi5TqvjlzWWBYvVNHHbihaWLp6n7L58Af+teyomCx5AIgKSmq4DLdjkfbczI5xxCQkpAXj1yRzvRP+vEuv5V9HK0="}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.0_1694805923446_0.9807194946365867"},"_hasShrinkwrap":false},"1.0.1":{"name":"2n-helios-client","version":"1.0.1","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.1","gitHead":"0f206ed6269f5d081dd5ac8a22a4b6213fe9183c","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-N4HYmAxhJBSugbuzHZe9KGIjKGPYnE/jaVgOwNBGesL4RgISoAeyh4thKSsMz5hTRycc2bIXRfJlPAetl98fHw==","shasum":"13c3c52312ed38949cb45ea8af20cd772b9b6f8c","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.1.tgz","fileCount":6,"unpackedSize":16198,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTwI9JBPBG8oCGB5gW4gUZlmoXgTqWq1lSmF8qL+n1rAIhAK1p0J04qENXr/9CdYBa17Yw6mFmk6gkvUITCdznwRsn"}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.1_1694810673470_0.8304387241106437"},"_hasShrinkwrap":false},"1.0.2":{"name":"2n-helios-client","version":"1.0.2","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.2","gitHead":"0232c3b5df174679f367da6f84acad0dc7400a78","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-idH8gLHdV/wXzQSp+Gf/7pK+aE2PZUxP799XOqhQ3Ck62F/eziqwb2ITvfT/xK+Q8HGOZwn1ngLC/Jmi43ehVQ==","shasum":"7b6cf031bdbe3afedb36833441ff325aafd74652","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.2.tgz","fileCount":6,"unpackedSize":18195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQComUGEojmzoBCn0IIFYPAhlgo9IoqI3oUnZ+7ll0zhoQIhANiRvsH5Gy52XvRZTSUN9Xxv8Stlszn5g9w0Q1/f+Uj5"}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.2_1695144406079_0.8503803752036614"},"_hasShrinkwrap":false},"1.0.3":{"name":"2n-helios-client","version":"1.0.3","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.3","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Ba9j3pfJw2pweCATwIcsTffjLn8u+tnsyv5TrVOBwr2e0htQGLqQR451mrd8zCng+088EyMlyQPrjnQEBLb7sg==","shasum":"23b2742d522f5dc027e1c1d6b7677758d4fdd83e","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.3.tgz","fileCount":6,"unpackedSize":18149,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkQO2NbzUj9cjjgpXQBuQzbpiG/rUIsJzoELDR98K5RAiEAynmGa/3ezNIo8vlOvRFgKIoTITr02dK5IlMsP0vlIM8="}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.3_1698434628326_0.6393030292331914"},"_hasShrinkwrap":false},"1.0.4":{"name":"2n-helios-client","version":"1.0.4","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.4","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-N1rOstGESBH1aw85L6jUEsRNlpv3Gld0Qall5HV+LAWLAoSPVqpcWw/lZlAEUP+I+VkGafpln8osy0u36Uohew==","shasum":"17f5c7b73bd2f1edb7713755e24a9c57e414bf3d","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.4.tgz","fileCount":6,"unpackedSize":18175,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiVofoq8dWWDC+1DrpG6we8xlN9KC/a/0+nB3+NsL5fgIhALdGhs63D+AIq63VGHnoHvz0E5TiLxPKxnBNxKVJ3Xee"}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.4_1698441305288_0.23416231378801422"},"_hasShrinkwrap":false},"1.0.5":{"name":"2n-helios-client","version":"1.0.5","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.5","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-i26vBaIJPS2Oe44phDdPnEmCYyJvgrkIxwFKkCdEERihilcbEtPjw+Er/B3upVEuZ2TPkJ8G7iXEfxhVa0716w==","shasum":"98780d3a5ad6d4a7ba59da35e02ccecc92cdb2b1","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.5.tgz","fileCount":6,"unpackedSize":19164,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkkf5LbZc+lVFuve7yJYPYKZLoGZtLbbB6fnItgBCMoQIhAPjt8/0b1Tmg6ttgLs995hyShEiVZE1xaL1pINOiP9Xx"}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.5_1698777425866_0.01996855042000889"},"_hasShrinkwrap":false},"1.0.6":{"name":"2n-helios-client","version":"1.0.6","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.6","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-QL9Eozrcd/soozclQ9JvWT9Kj5Sl4KJC5AidTZddrlZpbTlyrXwGlAp3uc5bcoPWkah5Px0EmYu4DNU7upYgnQ==","shasum":"92a8ec838ee63494d5788b8682eb997c0da7d6c1","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.6.tgz","fileCount":6,"unpackedSize":19077,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDrGKcG8jvULAaYkySsOqqhCKYUQeELeyHl8otdRIK+oAiEAjjl0kgl4Tj+IXo4SeE2EMYpVH+p/s/NbZfJmjf686AU="}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.6_1698781268827_0.7677529678705153"},"_hasShrinkwrap":false},"1.0.7":{"name":"2n-helios-client","version":"1.0.7","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.7","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-gceXzpabFwAltgtSUQV/xHmqWY+T+XchQdtpMe6cSTqHeQubav0lqM+bq5ZlbazgLs2wndHKFdwPuM/1yBnrtg==","shasum":"ec4ae94a054db96e072570643af6c3ee30e3401a","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.7.tgz","fileCount":6,"unpackedSize":19174,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBRI6enpm37xZBBqpIRTiQxlgZ2yucQeE8q1TqmvWdDAiEAwZJDgE3tL7wrzScb369BOouCH/d6nI9dB+At0ILWOxI="}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.7_1698783851599_0.766054977332699"},"_hasShrinkwrap":false},"1.0.8":{"name":"2n-helios-client","version":"1.0.8","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.8","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-0bNSWkDuubRCJPQm6CHPhmz6xR0EoT/VdNcSTZaMZwKm4PBzgx54I3bLPkl+3OYgT1EjKKf1UtvcIORjtoSVOg==","shasum":"ad77cd8ec0f40dbbffa62ab86a91647fc48fa0a4","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.8.tgz","fileCount":6,"unpackedSize":19184,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRkS6bxwUxM16saWyGaIH6+ShpaNKWbCypBYrTW134ZAIhAJNlLmvF5gY0ENgtPVNiZ84WFpboRxJRwwuv+RXLFsJp"}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.8_1698877087782_0.5257259575689834"},"_hasShrinkwrap":false},"1.0.9":{"name":"2n-helios-client","version":"1.0.9","description":"2n client for Node","types":"lib/index.d.ts","main":"lib/index.js","type":"module","scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"author":{"name":"Joshua Burkhalter"},"keywords":["2n","Helios"],"license":"ISC","dependencies":{"@types/node":"^20.6.1","axios":"^1.5.0","dayjs":"^1.11.9"},"devDependencies":{"typescript":"^5.2.2"},"_id":"2n-helios-client@1.0.9","gitHead":"214746b0e5c8ee14e5655d6c7ce8e6d1e2ffc772","_nodeVersion":"20.5.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-UMiyaJ/Pa1HNqpF7WJ5n/fz61b4p8jLHBpMiGKEVTBse/pbeuhbbo66+JVCzx3ShN9+8v5HFKx/ED1WOKB1Flw==","shasum":"a99299690d830b8d099094e136cba4e9f262bf51","tarball":"https://registry.npmjs.org/2n-helios-client/-/2n-helios-client-1.0.9.tgz","fileCount":6,"unpackedSize":20356,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDryiWqTK8/a4uD17EkbI98xIzUT9PbapvSPIIOhf5GfAIgVeErWn/iJ3Q4uvMqXSzc2HRG/vHPw8paEv9brjxmDq0="}]},"_npmUser":{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"},"directories":{},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/2n-helios-client_1.0.9_1698953525484_0.07299167589820055"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-15T19:25:23.445Z","1.0.0":"2023-09-15T19:25:23.651Z","modified":"2023-11-02T19:32:05.909Z","1.0.1":"2023-09-15T20:44:33.703Z","1.0.2":"2023-09-19T17:26:46.213Z","1.0.3":"2023-10-27T19:23:48.554Z","1.0.4":"2023-10-27T21:15:05.650Z","1.0.5":"2023-10-31T18:37:06.098Z","1.0.6":"2023-10-31T19:41:09.031Z","1.0.7":"2023-10-31T20:24:11.884Z","1.0.8":"2023-11-01T22:18:08.026Z","1.0.9":"2023-11-02T19:32:05.651Z"},"maintainers":[{"name":"joshuaburkhalter","email":"joshua@redpointaudio.com"}],"description":"2n client for Node","keywords":["2n","Helios"],"author":{"name":"Joshua Burkhalter"},"license":"ISC","readme":"# 2n-helios-client\r\n\r\n`2n-helios-client` is a node-style API for interfacing with 2n door access control panels.\r\n\r\nTo use:\r\n```js\r\nconst credentials = {\r\n    ip: '10.1.10.123',                  // your 2n unit's IP address\r\n    user: 'admin',                      // your 2n API username (not necessarily the same as the web interface login)\r\n    pass: 'password'                    // your 2n API password\r\n}\r\n\r\nconst helios = new Helios(credentials); // create new instance\r\n\r\nconst res = await helios.status();       // make sure to use await as we're dealing with promises\r\nconsole.log(res)                        // do something with the response\r\n\r\n```","readmeFilename":"readme.md"}