load-config-file
Advanced tools
Comparing version
export type ConfigCallBackFn = (error: Error, content: any) => void; | ||
export type ConfigProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => string | ||
export type ConfigAsyncProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => string|Promise<string> | ||
export type ConfigProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => any | ||
export type ConfigAsyncProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => any|Promise<any> | ||
export interface IConfigurator { | ||
@@ -5,0 +5,0 @@ [name: string]: ConfigAsyncProcessFn |
{ | ||
"name": "load-config-file", | ||
"description": "Load the config file as a plain object. The config file format can be registered.", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"homepage": "https://github.com/snowyu/load-config-file.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
43382
-0.02%