Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

2n-helios-client

2n client for Node

2nhelios
Published15 Sept 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-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"
    }
  ]
}

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:dbd6df2edb36927d6f86e7ec7d7b96b4d1c71b06537051fb5f0aa0b06d823934

Other collected versions

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