Constructors
constructor
- new Rockplate(template: string, schemaResolver?: T | SchemaResolver<T>, strict?: undefined | false | true): Rockplate
-
Parameters
-
template: string
-
Optional schemaResolver: T | SchemaResolver<T>
-
Optional strict: undefined | false | true
Methods
build
- build(): Promise<Block[]>
Private getTemplateFromBlocks
- getTemplateFromBlocks(blocks: Block[]): string
-
Parameters
Returns string
parse
-
Parameters
Returns string
validateTemplate
- validateTemplate(): boolean