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

0.2.14 • 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()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.14
    0
    • latest

Version History

Package Sidebar

Install

npm i @weblab-notebook/weblab-interpreter

Weekly Downloads

0

Version

0.2.14

License

none

Unpacked Size

2.23 MB

Total Files

7

Last publish

Collaborators

  • weblab-notebook