The developer interface for the Temple compiler is designed
to be expressive and easily access the Temple library in most
scenarios. To create a new temple compiler you can follow the
code below.
import temple from '@ossph/temple';
const compiler = temple();
The temple()
function itself takes in the following options, all of
which are optional.
Calling temple() as in
compiler = temple({/*options*/})
returns the Temple compiler which contains the following object.