weblab-interpreter
TypeScript icon, indicating that this package has built-in type declarations

0.2.9 • Public • Published

Weblab interpreter

A lite Javascript interpreter written in Rust and compiled to WASM using wasm-pack. The project is in alpha stage, please use it with caution.

It is used for the execution of the cells of Weblab notebooks.

Usage

Evaluate a cell:

eval_cell(str: String): Promise<String | HtmlElement>

Reset the environment:

reset_envs()

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i weblab-interpreter

      Weekly Downloads

      1

      Version

      0.2.9

      License

      none

      Unpacked Size

      2.42 MB

      Total Files

      7

      Last publish

      Collaborators

      • weblab-notebook