The project website maxbo.me/celine, rather than this README.md, has the demos, installation instructions, API docs and additional resources you might be looking for.
This monorepo contains the following packages:
- /celine, which is published as @celine/celine on JSR. It exports core reactive cell functionality and styling, and a data visualization focussed standard library. It is documented at maxbo.me/celine.
- /libertine, which is published as @celine/libertine on JSR. It exports
libertine.css, a drop-in stylesheet that emulates the look of some academic typesetting. It is documented at maxbo.me/celine/libertine. - /bibhtml, which is published as @celine/bibhtml on JSR. It exports 3 Web Components based custom elements that wrap Citation.js. It is documented at maxbo.me/celine/bibhtml.
- Bun v1.3.10+ (canary required for standalone HTML builds)
bun installBun's built-in HTML dev server bundles and serves the pages with hot reloading:
bun run devThis serves all pages concurrently:
http://localhost:3000/โindex.htmlhttp://localhost:3000/overviewโoverview.htmlhttp://localhost:3000/bibhtml/โbibhtml/index.htmlhttp://localhost:3000/libertine/โlibertine/index.html
The dev server resolves local imports from celine/mod.ts and bibhtml/mod.ts automatically, so changes to the source modules are reflected immediately.
The source modules use bare import specifiers (e.g. @observablehq/runtime) which are resolved by:
- Bun: via
node_modules/(afterbun install) - Deno/JSR: via the
importsmap in each package'sdeno.json
