A tiny wrapper around the desktop executables for ink's command-line Ink language compiler.
npm install inklecatenpm i -D inklecate.
inklecate and this package. One major difference is this library allows output to be cached and deleted automatically, then emitted over stdout from the CLI, or returned from the function if using the library. Logging is performed of errors, warnings, and author notes if a outputFilepath argument is provided. Otherwise, all these log items will be stored in the compilerOutput property of the returned object.
inklecate package can be used either as the inklecate export of the module and as a command-line app.
inklecate ...
-o, --outputFile : Output file name.
-c: Count all visits to knots, stitches and weave points, not just those referenced by TURNS_SINCE and read counts.
--verbose: Verbose mode - print compilation timings.
--DEBUG: Enable debug logging for inklecate-node.
`
The arguments for the module's inklecate function:
`js
function inklecate(args: {
countAllVisits?: boolean;
outputFilepath?: string;
inputFilepath?: string;
}): Promise;
``