Narnia's Psychedelic Mushrooms
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@leverj/zka

1.5.16-alpha.6 • Public • Published

zka

zero knowledge api key

install

npm install @leverj/zka

usage

const baseUrl = "https://your-domain"
const apiPath = "/api/v1" 
// create zka with base url and api path
const zka = require('@leverj/zka')(baseUrl, apiPath)
// provide accountid, apikey and secret to support rest and socket communication with server 
zka.init(accountId, apiKey, secret)
// use rest call
zka.rest.get('/account')

Install

npm i @leverj/zka

DownloadsWeekly Downloads

652

Version

1.5.16-alpha.6

License

MIT

Unpacked Size

21.9 kB

Total Files

13

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar