Socket
Socket
Sign inDemoInstall

@84codes/sparoid

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @84codes/sparoid

SPAroid client


Version published
Maintainers
2
Install size
7.56 kB
Created

Readme

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

Last updated on 20 Dec 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc