Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 1.03 KB

readme.md

File metadata and controls

37 lines (24 loc) · 1.03 KB

Resilio Sync NodeJS abstraction

NPM Version node Dependency Status Dev Dependency Status

Resilio Sync Abstraction

This abstraction was created to support the Resilio Sync Home software on headless devices.

Install

$ npm install resilio-sync

Usage

const ResilioSync = require('resilio-sync');

const resilio = new ResilioSync('/usr/bin/rslsync');

resilio.syncConfig({
	device_name: 'bob',
	storage_path: '/tmp/test',
	...
})

// enjoy

await resilio.stop()

See TypeScript types for more info