UNPKG

knitr-js

Version:

Javascript implementation of knitr and R Markdown

35 lines (30 loc) 603 B
import { Chunk } from "./Chunk"; interface Options { code: Chunk; custom: CustomOptions; } interface CustomOptions { [propName: string]: string; } // export const options: Options = (() => { // return { defaultEngines: null }; // })(); // const defaultOptions = { // render: { // echo: true, // eval: true, // include: true, // message: true, // warning: true, // }, // engines: { // javascript: "node", // python: "python", // r: "Rscript", // typescript: "ts-node", // }, // commands: { // node: "node -e", // rustc: "", // }, // };