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