@types/nconf
- Version 0.10.7
- Published
- 6.72 kB
- No dependencies
- MIT license
Install
npm i @types/nconfyarn add @types/nconfpnpm add @types/nconfOverview
TypeScript definitions for nconf
Index
Variables
Functions
Classes
Interfaces
Variables
Functions
function add
add: (name: string, options?: IOptions) => Provider;function any
any: (keys: string[], callback?: ICallbackFunction) => any;function argv
argv: (options?: IOptions) => Provider;function clear
clear: (key: string, callback?: ICallbackFunction) => any;function create
create: (name: string, options: IOptions) => IStore;function defaults
defaults: (options?: IOptions) => Provider;function env
env: { (options?: IOptions): Provider; (separator: string): Provider };function file
file: { (name: string, options?: IFileOptions): Provider; (name: string, filename: string): Provider; (options: IFileOptions): Provider;};function get
get: (key?: string, callback?: ICallbackFunction) => any;function init
init: (options?: IOptions) => void;function key
key: (...values: any[]) => string;function load
load: (callback?: ICallbackFunction) => any;function loadFiles
loadFiles: (files: any, callback?: ICallbackFunction) => void;function loadFilesSync
loadFilesSync: (files: any, callback?: ICallbackFunction) => void;function loadSources
loadSources: () => any;function merge
merge: (key: string, value: any, callback?: ICallbackFunction) => any;function mergeSources
mergeSources: (data: any) => void;function overrides
overrides: (options?: IOptions) => Provider;function path
path: (key: any) => any[];function remove
remove: (name: string) => void;function required
required: (keys: string[]) => Provider;function reset
reset: (callback?: ICallbackFunction) => any;function save
save: (value: any, callback?: ICallbackFunction) => any;function set
set: (key: string, value: any, callback?: ICallbackFunction) => any;function use
use: (name: string, options?: IOptions) => Provider;Classes
class Provider
class Provider {}constructor
constructor(options?: IOptions);property sources
sources: any[];property stores
stores: any;method add
add: (name: string, options?: IOptions) => Provider;method any
any: (keys: string[], callback?: ICallbackFunction) => any;method argv
argv: (options?: IOptions) => Provider;method clear
clear: (key: string, callback?: ICallbackFunction) => any;method create
create: (name: string, options: IOptions) => IStore;method defaults
defaults: (options?: IOptions) => Provider;method env
env: { (options?: IOptions): Provider; (separator: string): Provider };method file
file: { (name: string, options?: IFileOptions): Provider; (name: string, filename: string): Provider; (options: IFileOptions): Provider;};method get
get: (key?: string, callback?: ICallbackFunction) => any;method init
init: (options?: IOptions) => void;method load
load: (callback?: ICallbackFunction) => any;method loadSources
loadSources: () => any;method merge
merge: (key: string, value: any, callback?: ICallbackFunction) => any;method mergeSources
mergeSources: (data: any) => void;method overrides
overrides: (options?: IOptions) => Provider;method remove
remove: (name: string) => void;method required
required: (keys: string[]) => Provider;method reset
reset: (callback?: ICallbackFunction) => any;method save
save: (value: any, callback?: ICallbackFunction) => any;method set
set: (key: string, value: any, callback?: ICallbackFunction) => any;method use
use: (name: string, options?: IOptions) => Provider;Interfaces
interface ICallbackFunction
interface ICallbackFunction {}call signature
(err: Error): void;interface IFileOptions
interface IFileOptions {}property dir
dir?: string | undefined;property file
file?: string | undefined;property format
format?: IFormat | undefined;property json_spacing
json_spacing?: number | undefined;property search
search?: boolean | undefined;property secure
secure?: ISecureFileOptions | undefined;property type
type?: string | undefined;interface IFormat
interface IFormat {}interface IOptions
interface IOptions {}index signature
[index: string]: any;interface ISecureFileOptions
interface ISecureFileOptions {}interface IStore
interface IStore {}Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/nconf.
- Markdown[](https://www.jsdocs.io/package/@types/nconf)
- HTML<a href="https://www.jsdocs.io/package/@types/nconf"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4011 ms. - Missing or incorrect documentation? Open an issue for this package.
