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

EdJoPaTo/resilio-sync-nodejs-abstraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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