JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q30702F
  • License MIT

zero knowledge authentication and api keys

Package Exports

  • zka

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zka) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

zka

zero knowledge api key

install

npm install zka

usage

const baseUrl = "https://your-domain"
const apiPath = "/api/v1" 
// create zka with base url and api path
const zka = require('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')