4 ms·
I understand that, but it's not much of an abstraction: const pyodide = await loadPyodide(), input = document.getElementById('#input').textContent,
by lo5 4y ago
I understand that, but it's not much of an abstraction:
const
pyodide = await loadPyodide(),
input = document.getElementById('#input').textContent,
output = await pyodide.runPythonAsync(input);
document.getElementById('#output').textContent = output;
I can see there are other tags (py-env, etc.) that provide some yaml to fetch additional assets, but again, nothing significant that warrants the hype.
Maybe I'm missing something?