syncthing-node

0.9.19 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i syncthing-node

Weekly Downloads

5

Version

0.9.19

License

GPL-3.0

Last publish

Collaborators

  • aralbalkan