Skip to main content

@britecharts/core

@britecharts/core is the main package for the Britecharts charting library. Use this package directly in your JavaScript projects.

Usage​

Read the main readme or check the Getting Started guide to learn how to use Britecharts.

Installation​

To install run:

pnpm add @britecharts/core

Or, with npm:

npm i --save @britecharts/core

Britecharts is available as an NPM module or through CDN links (in different formats or a bundle).

Using Britecharts with a coding agent​

The package ships an agent skill in skills/britecharts. It covers each chart's data shape and accessors, tooltip wiring, React and the wrappers, and the v2 code that no longer works in v3. Install it with the skills CLI:

npx skills add britecharts/britecharts

Or copy node_modules/@britecharts/core/skills/britecharts into your agent's skills folder, such as .claude/skills/ for Claude Code. Agents that read llms.txt can also load the whole documentation from llms-full.txt.

See Also​

Contribute​

Check the contributing guide if you want to help us bringing these in.