Variables
Const _default
_default
: { createContent
: (content
: string, type
?: string) => string; getFileExt
: () => string; upToDate
: typeof checkUpToDate }
Type declaration
-
createContent: (content: string, type?: string) => string
-
- (content: string, type?: string): string
-
Parameters
-
content: string
-
Optional type: string
Returns string
-
getFileExt: () => string
-
Const _default
_default
: { parseCli
: typeof init }
Const _default
_default: { createFileTestFunc: (absolutePaths: string[], debugStr?: string) => (path: string) => boolean; isDirectory: (path: string) => boolean; normalizePath: (path: string) => string }
Type declaration
-
createFileTestFunc: (absolutePaths: string[], debugStr?: string) => (path: string) => boolean
-
- (absolutePaths: string[], debugStr?: string): (path: string) => boolean
-
Parameters
-
absolutePaths: string[]
-
Optional debugStr: string
Returns (path: string) => boolean
-
-
Parameters
Returns boolean
-
isDirectory: (path: string) => boolean
-
-
Parameters
Returns boolean
-
normalizePath: (path: string) => string
-
-
Parameters
Returns string
Const _default
_default: { log: (_message?: any, ..._optionalParams: any[]) => void; warn: (_message?: any, ..._optionalParams: any[]) => void; setIsLog: any; setIsWarn: any; setLog: any; setWarn: any }
Type declaration
-
log: (_message?: any, ..._optionalParams: any[]) => void
-
- (_message?: any, ..._optionalParams: any[]): void
-
Parameters
-
Optional _message: any
-
Rest ..._optionalParams: any[]
Returns void
-
warn: (_message?: any, ..._optionalParams: any[]) => void
-
- (_message?: any, ..._optionalParams: any[]): void
-
Parameters
-
Optional _message: any
-
Rest ..._optionalParams: any[]
Returns void
-
setIsLog: function
- setIsLog(func: () => boolean): void
-
setIsWarn: function
- setIsWarn(func: () => boolean): void
-
setLog: function
- setLog(func: (_message?: any, ..._optionalParams: any[]) => void): void
-
Parameters
-
func: (_message?: any, ..._optionalParams: any[]) => void
-
- (_message?: any, ..._optionalParams: any[]): void
-
Parameters
-
Optional _message: any
-
Rest ..._optionalParams: any[]
Returns void
Returns void
-
setWarn: function
- setWarn(func: (_message?: any, ..._optionalParams: any[]) => void): void
-
Parameters
-
func: (_message?: any, ..._optionalParams: any[]) => void
-
- (_message?: any, ..._optionalParams: any[]): void
-
Parameters
-
Optional _message: any
-
Rest ..._optionalParams: any[]
Returns void
Returns void
Const _default
_default: { isAsyncSupported: () => boolean }
Type declaration
-
isAsyncSupported: () => boolean
Const _default
_default: PromiseConstructor
add alias (i.e. "lookup information") for module AND "auto-load" module in main script during initialization