UNPKG

tauri-settings

Version:

A user settings manager for Tauri inspired by electron-settings.

19 lines (18 loc) 586 B
export interface IConfigOptions { /** * The name of the file in which the settings should be saved. * The filename should be without any extension. * Default: 'settings' */ file_name?: string; /** * Path to the directory in which the settings file is to be created. * Default: User's app config directory. See https://tauri.app/v1/api/js/path#appconfigdir */ directory?: string | null; /** * Whether or not to prettify the JSON settings data before storing to the file. * Default: false */ prettify?: boolean; }