0.0.3 • Published 4 years ago
tm-legacy v0.0.3
tm-legacy
Get, save and update backup settings.
Installation
npm i tm-legacyOptions
Options is an object with the following fields:
fileFile name to store/read backup settings.pathPath to store/read backup settings file.keysArray with backup settings names(Settings object fields names).
Methods
validateChecks whether backup settings is available.loadLoads settings and store data in memory for further usage.saveSaves settings into a file.updateUpdates settings.Note: All the methods above are async(return promise).