Properties
outputPath
outputPath: string
registerPath
registerPath: string
templatesGlob
templatesGlob: string[]
templatesPath
templatesPath: string
Methods
configure
-
Parameters
-
Parameters
-
name: string
-
output: string
-
group: string
Returns any
-
Parameters
init
- init(force?: boolean): void
inject
-
Parameters
Returns void
-
Parameters
-
filename: string | IInject
-
-
insert: string | string[]
-
strategy: "before" | "after" | "first" | "last" | "replace"
-
Returns void
registerGroup
- registerGroup(name: string, series: boolean): any
- registerGroup(name: string, ...args: string[]): void
-
Parameters
-
name: string
-
series: boolean
Returns any
-
Parameters
-
name: string
-
Rest ...args: string[]
Returns void
render
- render(template: ITemplate, done?: NodeCallback): void
- render(template: ITemplate, force?: boolean, done?: NodeCallback): void
- render(template: ITemplate, options?: IRegisterConfig, done?: NodeCallback): void
- render(template: ITemplate, options?: IRegisterConfig, force?: boolean, done?: NodeCallback): void
- render(name: string | ITemplate, output?: string | IRegisterConfig | NodeCallback | boolean, options?: IRegisterConfig | NodeCallback | boolean, force?: boolean | NodeCallback, done?: NodeCallback, group?: string): void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
-
-
-
-
Optional force: boolean | NodeCallback
-
-
Optional group: string
Returns void
transformCase
- transformCase(str: string, to: string): string
-
Parameters
Returns string