Skip to content

Latest commit

 

History

History

nexusdocs-client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

nexusdocs-client

Client-SDK for nexusdocs-server

NexusDocs Documentation

Install

yarn add nexusdocs-client

Usage

import createClient from 'nexusdocs-client';

// Object style server options:
const client = createClient({
  hostname: '192.168.1.6',
  port: 4001,
  apiKey: 'MY_API_KEY',
  apiSecret: 'MY_API_SECRET',
});

// URL style server options:
const client = createClient('http://MY_API_KEY:[email protected]:4001/api');

Check API Documentation for more detail

License

MIT