A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
To further increase parity between JavaScript in Markdown and JavaScript in data loaders, we could add a loader that allows npm: protocol imports to be automatically loaded from jsDelivr, or we could resolve them to node_modules (just stripping the npm: prefix). For example, in npm-loader.js:
To further increase parity between JavaScript in Markdown and JavaScript in data loaders, we could add a loader that allows
npm:
protocol imports to be automatically loaded from jsDelivr, or we could resolve them to node_modules (just stripping thenpm:
prefix). For example, innpm-loader.js
:And then adding additional args when running
node
for data loaders: