Client-SDK for nexusdocs-server
yarn add nexusdocs-client
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
MIT