Skip to content

84codes/sparoid.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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") })
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published