Catalog npm
Back to packageRELEASE DETAILS

1.0.8

npm

2n-helios-client

2n client for Node

2nhelios
Published1 Nov 2023
Direct dependencies4
Transitive dependenciesNot calculated

README

Current package documentation

2n-helios-client

2n-helios-client is a node-style API for interfacing with 2n door access control panels.

To use:

const credentials = {
    ip: '10.1.10.123',                  // your 2n unit's IP address
    user: 'admin',                      // your 2n API username (not necessarily the same as the web interface login)
    pass: 'password'                    // your 2n API password
}

const helios = new Helios(credentials); // create new instance

const res = await helios.status();       // make sure to use await as we're dealing with promises
console.log(res)                        // do something with the response

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.6.1runtime
axios
Environment
{
  "local_name": "axios",
  "alias": false,
  "peer_metadata": null
}
^1.5.0runtime
dayjs
Environment
{
  "local_name": "dayjs",
  "alias": false,
  "peer_metadata": null
}
^1.11.9runtime
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.2.2development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "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"
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:15 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:4d7949d261f5a8b901c009ee46699afd5cceae70be1efc93ac5d2b121adc5232

Other collected versions

1.0.92 Nov1.0.731 Oct1.0.631 Oct1.0.531 Oct1.0.427 Oct1.0.327 OctView all collected versions →