@telios/nebula-client

1.0.0-alpha.7 • Public • Published

nebula-client

Build Status

Standalone Nebula RPC client

npm install @telios/nebula-client

Usage

const NebulaClient = require('@telios/nebula-client')
const client = new NebulaClient('/tmp/test.sock')

client.saveIncMailMsg('Message content').then(data => {
  // success!
})

API

client.saveIncMailMsg(message)

client.unlinkMailMsg(fileName)

client.mountDrive({ name, driveKey, keyPair, writable })

client.addPeer({ driveKey, diffKey })

client.removePeer({ driveKey, diffKey })

client.destroyDrive(driveKey)

client.closeDrive(driveKey)

Readme

Keywords

none

Package Sidebar

Install

npm i @telios/nebula-client

Weekly Downloads

1

Version

1.0.0-alpha.7

License

MIT

Unpacked Size

4.41 kB

Total Files

7

Last publish

Collaborators

  • hexadecibal