@dotlit/litcode

This is a .lit notebook.

Usage no npm install needed!

<script type="module">
  import dotlitLitcode from 'https://cdn.skypack.dev/@dotlit/litcode';
</script>

README

Welcome

This is a .lit notebook.

It' s made up of only a few sections:

Some code

In the browser

alert("Hi, from your browser")

On your host machine

var dialog = require('dialog')
dialog.info("Hi, from Node.js")

Everything is just a repl

osascript -e 'tell app "Finder" to display dialog "Hello World"'