0.0.3 • Published 3 years ago

tm-legacy v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

tm-legacy

npm codecov

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).

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago