Class: Config

WF.Config

new Config()

CRUD functions for store json config file
Source:
Examples
var conf = new wf.Config("/my/path/conf.json");
conf.value = {"one":1, "two":3};
conf.Save();
conf.Read();

Members

(static) this.path :string

The path of the config
Type:
  • string
Properties:
Name Type Description
path
Source:

(static) this.value :Object

The value of the config
Type:
  • Object
Properties:
Name Type Description
value
Source:

Methods

(static) .Read()

Read a config file
Source:

(static) .Save()

Save a config file
Source: