Install
bash
npm install nervurebash
pnpm add nervurebash
yarn add nervurebash
bun add nervurebash
deno add npm:nervurebash
npm install github:nervurejs/nervureyarn, pnpm, bun and Deno read the npm registry: the package is the same everywhere. Without a bundler, use one script tag.
React and Vue are optional: they are needed only by nervure/react and nervure/vue.
| Import | For |
|---|---|
nervure | createChart, in any project |
nervure/react | React, Next.js, Remix, Gatsby |
nervure/vue | Vue 3, Nuxt |
nervure/svelte | Svelte, SvelteKit |
nervure/element | the <nervure-chart> web component, for Angular, Solid, Astro and plain HTML |
nervure/live | live data |
nervure/server | event streams on your server |
nervure/stimulus | Symfony UX, Rails, Laravel |
nervure/dashboard | dashboards |
nervure/maps | map files |
nervure/lazy, nervure/core, nervure/charts/* | only what you draw |
nervure/samples | made-up data for each chart |