Socket
Book a DemoInstallSign in
Socket

@84codes/sparoid

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@84codes/sparoid

SPAroid client

latest
Source
npmnpm
Version
2.1.1
Version published
Maintainers
2
Created
Source

SPAroid

JavaScript/NodeJS implemention of the SPAroid client.

Usage

import * as sparoid from '@84codes/sparoid'

// Sparoid will read the environment variables SPAROID_KEY and SPAROID_HMAC_KEY
await sparoid.auth(host, port, key, hmac_key)

// alternatively
await sparoid.auth(host, port)

Or in CommonJS environments:

import('@84codes/sparoid').then((sparoid) => {
  sparoid.auth(host, port).then(() => { console.log("authed") })
})

FAQs

Package last updated on 20 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts