I don't know about Nodejs, but Deno has notebook support built-in<p><a href="https://docs.deno.com/runtime/reference/cli/jupyter/" rel="nofollow">https://docs.deno.com/runtime/reference/cli/jupyter/</a>