Wow I did not expect there would be a working solution but yes! I can actually pull notebook JS into nodejs ecosystem from the commandline!
npm install @observablehq/runtime@4 npm install "https://api.observablehq.com/@tomlarkworthy/rate-estimation-min.tgz?v=3"
The complete example is here
I am constantly impressed with the quality of the foundations of Observable. I am learning so much from seeing how this thing is put together. I never thought a notebook could be module.
So now I can really explore serverside topics in notebooks and depend on them directly. Amazing! I am in such awe of your guys work and the platform, I wish you the best.