syncthing-node
A promises-based API client for the Syncthing REST API in Node.js.
Installation
npm install syncthing-node
Usage
st = require('syncthing-node')
st.version()
.then (result) ->
console.log 'Version: ' + result
.catch (error) ->
console.log 'Error while attempting to get version: ' + error
Tests
coffee test.coffee
Reference
Credits
Copyright © 2014 Aral Balkan. Licensed under GNU GPLv3. Released with ❤ by ind.ie