Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
nconf
Provider
Class Provider
Index
Constructor methods
constructor
Properties
sources
stores
Methods
add
argv
clear
create
defaults
env
file
get
init
load
loadSources
merge
mergeSources
overrides
remove
reset
save
set
use
Constructor methods
constructor
(
options
:
IOptions
)
:
Provider
Parameters
options:
IOptions
Returns
Provider
Properties
public
sources
:
Array<any>
public
stores
:
any
Methods
public
add
(
name
:
string
, options
?:
IOptions
)
:
Provider
Parameters
name:
string
options?:
IOptions
optional
Returns
Provider
public
argv
(
options
?:
IOptions
)
:
Provider
Parameters
options?:
IOptions
optional
Returns
Provider
public
clear
(
key
:
string
, callback
?:
ICallbackFunction
)
:
any
Parameters
key:
string
callback?:
ICallbackFunction
optional
Returns
any
public
create
(
name
:
string
, options
:
IOptions
)
:
IStore
Parameters
name:
string
options:
IOptions
Returns
IStore
public
defaults
(
options
?:
IOptions
)
:
Provider
Parameters
options?:
IOptions
optional
Returns
Provider
public
env
(
options
?:
IOptions
)
:
Provider
Parameters
options?:
IOptions
optional
Returns
Provider
public
file
(
name
:
string
, options
?:
IFileOptions
)
:
Provider
Parameters
name:
string
options?:
IFileOptions
optional
Returns
Provider
public
file
(
options
:
IFileOptions
)
:
Provider
Parameters
options:
IFileOptions
Returns
Provider
public
get
(
key
:
string
, callback
?:
ICallbackFunction
)
:
any
Parameters
key:
string
callback?:
ICallbackFunction
optional
Returns
any
public
init
(
options
?:
IOptions
)
Parameters
options?:
IOptions
optional
public
load
(
callback
?:
ICallbackFunction
)
:
any
Parameters
callback?:
ICallbackFunction
optional
Returns
any
public
loadSources
(
)
:
any
Returns
any
public
merge
(
key
:
string
, value
:
any
, callback
?:
ICallbackFunction
)
:
any
Parameters
key:
string
value:
any
callback?:
ICallbackFunction
optional
Returns
any
public
mergeSources
(
data
:
any
)
Parameters
data:
any
public
overrides
(
options
?:
IOptions
)
:
Provider
Parameters
options?:
IOptions
optional
Returns
Provider
public
remove
(
name
:
string
)
Parameters
name:
string
public
reset
(
callback
?:
ICallbackFunction
)
:
any
Parameters
callback?:
ICallbackFunction
optional
Returns
any
public
save
(
value
:
any
, callback
?:
ICallbackFunction
)
:
any
Parameters
value:
any
callback?:
ICallbackFunction
optional
Returns
any
public
set
(
key
:
string
, value
:
any
, callback
?:
ICallbackFunction
)
:
any
Parameters
key:
string
value:
any
callback?:
ICallbackFunction
optional
Returns
any
public
use
(
name
:
string
, options
?:
IOptions
)
:
Provider
Parameters
name:
string
options?:
IOptions
optional
Returns
Provider
Globals
nconf
sources
stores
version
formats
ICallbackFunction
IFileOptions
IOptions
IStore
Provider
constructor
sources
stores
add
argv
clear
create
defaults
env
file
get
init
load
loadSources
merge
mergeSources
overrides
remove
reset
save
set
use
add
argv
clear
create
defaults
env
file
get
init
key
load
loadFiles
loadFilesSync
loadSources
merge
mergeSources
overrides
path
remove
reset
save
set
use