@types/config
Advanced tools
Comparing version 0.0.32 to 0.0.33
// Type definitions for node-config | ||
// Project: https://github.com/lorenwest/node-config | ||
// Definitions by: Roman Korneev <https://github.com/RWander> | ||
// Forrest Bice <https://github.com/forrestbice> | ||
// James Donald <https://github.com/jndonald3> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -34,3 +36,3 @@ | ||
getEnv(varName: string): string; | ||
// Return the config for the project based on directory param if not directory then return default one (config). | ||
@@ -41,2 +43,9 @@ loadFileConfigs(configDir: string): any; | ||
getConfigSources(): IConfigSource[]; | ||
/** | ||
* This allows module developers to attach their configurations onto | ||
* the 6 years agoInitial 0.4 checkin default configuration object so | ||
* they can be configured by the consumers of the module. | ||
*/ | ||
setModuleDefaults(moduleName:string, defaults:any): any; | ||
} | ||
@@ -43,0 +52,0 @@ |
{ | ||
"name": "@types/config", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "TypeScript definitions for node-config", | ||
"license": "MIT", | ||
"author": "Roman Korneev <https://github.com/RWander>", | ||
"contributors": [ | ||
{ | ||
"name": "Roman Korneev", | ||
"url": "https://github.com/RWander", | ||
"githubUsername": "RWander" | ||
}, | ||
{ | ||
"name": "Forrest Bice", | ||
"url": "https://github.com/forrestbice", | ||
"githubUsername": "forrestbice" | ||
}, | ||
{ | ||
"name": "James Donald", | ||
"url": "https://github.com/jndonald3", | ||
"githubUsername": "jndonald3" | ||
} | ||
], | ||
"main": "", | ||
@@ -14,5 +30,4 @@ "repository": { | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "2339aeaea1fab2c9eeecdf220961dcd39e6506f37cea6ccbd0fb40d48195fa51", | ||
"typesPublisherContentHash": "a2313af05a12706bb05179f90d03948810800b8fae745093d039696c88735ad0", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/config | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/config | ||
Additional Details | ||
* Last updated: Thu, 09 Feb 2017 22:50:55 GMT | ||
* Last updated: Mon, 18 Sep 2017 14:08:00 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Roman Korneev <https://github.com/RWander>. | ||
These definitions were written by Roman Korneev <https://github.com/RWander>, Forrest Bice <https://github.com/forrestbice>, James Donald <https://github.com/jndonald3>. |
5189
47