nodejs-handle-net-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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));

Package Sidebar

Install

npm i nodejs-handle-net-client

Weekly Downloads

2

Version

1.0.8

License

ISC

Unpacked Size

15.1 kB

Total Files

7

Last publish

Collaborators

  • moayad