DuSettings(namespace, fileopt)

A class to manage settings.

new DuSettings(namespace, fileopt)

Constructs a new DuSettings instance
Parameters:
Name Type Attributes Default Description
namespace string A namespace to group your settings.
file File | string <optional>
Folder.myDocuments/namespace_settings.json The file to store the settings
Properties:
Name Type Description
namespace string A namespace to group your settings.
file File The file to store the settings
data Object The settings as a js object