hybrix-jslib

0.8.7 • Public • Published

hybrix-jslib

This library can be used to connect software to leverage the capabilities of the hybrix platform. It serves two purposes: first to facilitate the logistics of interfacing with the hybrixd REST API, secondly to handle all client-side operations securely and privately. This ensures that keys required for transaction never leave the users device and communication over an encrypted channel.

Installation

$ npm install hybrix-jslib

Usage

const Hybrix = require('./hybrix-jslib.js');
const hybrix = new Hybrix.Interface({http:require('http')});
hybrix.sequential(
  [
    'init',                                                       // Initialize hybrix
  ],
  ()=>{console.log('Hello World!');},                             // Define action to execute on successfull completion
  error=>{console.log('Oops, something went wrong: '+error);}     // Define action to exectue when an error is encountered
);

Documentation

Library documentation: https://api.hybrix.io/help/hybrix-jslib.js

REST API reference: https://api.hybrix.io/help/api

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.8.71latest

Version History

VersionDownloads (Last 7 Days)Published
0.8.71
0.8.60
0.8.50
0.8.40
0.8.30
0.8.20
0.8.10
0.8.00
0.7.20
0.7.10
0.7.00
0.6.190
0.6.180
0.6.170
0.6.160
0.6.150
0.6.140
0.6.130
0.6.120
0.6.110
0.6.100
0.6.90
0.6.80
0.6.70
0.6.60
0.6.50
0.6.40
0.6.30
0.6.20
0.6.10
0.6.00
0.5.170
0.5.160
0.5.150
0.5.140
0.5.130
0.5.110
0.5.100
0.5.90
0.5.80
0.5.70

Package Sidebar

Install

npm i hybrix-jslib

Homepage

hybrix.io

Weekly Downloads

0

Version

0.8.7

License

GPL-3.0

Unpacked Size

1.79 MB

Total Files

4

Last publish

Collaborators

  • hybrix-io