1.0.8 • Published 5 years ago

nodejs-handle-net-client v1.0.8

Weekly downloads
12
License
ISC
Repository
github
Last release
5 years ago

Nodejs handle.net client

Handle.net rest api client with Challenge-Response Request from Client to Server Authentication

Note: this still experimental repository its not tested on production

Install

$ npm install --save nodejs-handle-net-client

Usage

Javascript

var Handle = require("nodejs-handle-net-client").Handle

TypeScript

import  Handle  from 'nodejs-handle-net-client';

SYNOPSIS

    var handleClient = new Handle('https:localhost:8000', '300:0.NA/prefix', 'privetkey.pem',true);

    // list all handles 
    handleClient.listHandles().then(d => console.log(d)).catch(e=>console.log(e));;
    // delete handle 
    handleClient.deleteHandle('1234').then(d => console.log(d)).catch(e=>console.log(e));
    // add new handle with value of URL
    handleClient.newHandle('URL').then((d) => console.log(d)).catch(e=>console.log(e));
1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago