lightweight-charts

Installation
SKILL.md

Lightweight Charts skill

Works the same whether the project is a downstream npm consumer app or an upstream lightweight-charts source checkout. Detect which one you are in (below) and resolve every API name from whatever typings are locally available.

Source lookup order

Do not assume you are inside the upstream source repository.

  1. In a consumer app, inspect the installed package first:
    • node_modules/lightweight-charts/package.json for the actual version.
    • node_modules/lightweight-charts/dist/typings.d.ts for the API surface.
  2. In the upstream repo, inspect dist/typings.d.ts first, then src/ if generated output is unavailable.
  3. Use official docs/examples as supporting evidence, but local typings win when they disagree.

Verify before answering (copy-paste):

Installs
105
GitHub Stars
16.2K
First Seen
14 days ago
lightweight-charts — tradingview/lightweight-charts