Properties
outputPath
outputPath: string
registerPath
registerPath: string
templatesGlob
templatesGlob: string[]
templatesPath
templatesPath: string
Methods
init
- init(force?: boolean): void
inject
-
Parameters
Returns void
-
Parameters
-
filename: string | IInject
-
-
insert: string | string[]
-
strategy: "before" | "after" | "first" | "last" | "replace"
-
Returns void
register
-
Parameters
-
Parameters
-
-
Optional template: string
render
-
Parameters
Returns void
-
Parameters
Returns void
-
Parameters
Returns void
transformCase
- transformCase(str: string, to: string): string
-
Parameters
Returns string