Skip to the content

Capsid menu

src/lite/index.ts

18 lines and 0 functions in DrDustinEdwards/enarratio, at commit 4c5695a on 2026-10-24. This file on GitHub.

Functions

None: it only declares types or values.

Imports

It imports src/lite/area.ts, src/lite/bar.ts, src/lite/line.ts. No module of this repo imports it.

Source

/**
 * `enarratio/lite`: the bar, line and area charts without Observable Plot, linkedom or a DOM.
 * The same options draw the same SVG as the charts in `enarratio/plot`, in a bundle small enough
 * to render charts in a browser. Each chart also has its own entry (`enarratio/lite/bar`,
 * `enarratio/lite/line`, `enarratio/lite/area`) for the smallest bundles.
 *
 * @packageDocumentation
 */

export { areaChart } from "./area.js";
export { type BarChartOptions, barChart } from "./bar.js";
export {
  type EventMarker,
  type LineBand,
  type LineChartOptions,
  lineChart,
  type ReferenceLine,
  type SeriesChartOptions,
} from "./line.js";