tm-legacy

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i tm-legacy

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

15.2 kB

Total Files

10

Last publish

Collaborators

  • romon2002