tm-legacy
v0.0.3
Published
Get, save and update backup settings.
Downloads
6
Readme
tm-legacy
Get, save and update backup settings.
Installation
npm i tm-legacy
Options
Options is an object with the following fields:
file
File name to store/read backup settings.path
Path to store/read backup settings file.keys
Array with backup settings names(Settings object fields names).
Methods
validate
Checks whether backup settings is available.load
Loads settings and store data in memory for further usage.save
Saves settings into a file.update
Updates settings.
Note: All the methods above are async(return promise).