Osiris is an educational transpiler that converts Python and Logo code to JavaScript for browser execution, targeting learners of programming language transpilation. Current version 1.0.28 (stable, low release cadence). Key differentiators: supports Python and Logo, provides a sandboxed execution environment using Web Workers, and includes a built-in execution timeout to prevent infinite loops. Compared to alternatives like Skulpt or Pyodide, Osiris is simpler and focuses on the transpilation learning process rather than full language compatibility.
npm install osiris-educational-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpile and execute a simple Python print statement using OsirisPython with event handler for output.
Ensure you call runCode() after a successful sendCode().
Create a canvas element with id matching the configured canvasId, e.g., '<canvas id="myCanvas"></canvas>'.
Use Osiris only in browser-based projects; it will fail in Node.js.
Use exactly 'osiris-educational-transpiler/Python' and 'osiris-educational-transpiler/logo'.
Use one of: 'osiris-educational-transpiler', 'osiris-educational-transpiler/Python', or 'osiris-educational-transpiler/logo'.
Import the correct class: import OsirisPython from 'osiris-educational-transpiler/Python'.
Use ES module syntax: import OsirisPython from 'osiris-educational-transpiler/Python'.
Add a canvas element with id matching the configuration before calling runCode().
No dependency data recorded yet.