npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@efixdata/connector-eodhd

v1.0.0

Published

EODHD market data adapter for @efixdata/exeria-chart — stocks, forex, and crypto OHLCV

Readme

@efixdata/connector-eodhd

Market data adapter for @efixdata/exeria-chart powered by EODHD — stocks, forex, and crypto OHLCV.

License: paid, source-available (EULA). The source is published for evaluation and integration. Production or commercial use requires a paid license from Efix Data Sp. z o. o. See the package LICENSE and the repository LICENSING.md.

Features

  • End-of-day OHLCV via /api/eod/ (1d, 1w, 1M)
  • Intraday OHLCV via /api/intraday/ (1m, 5m, 1h)
  • Live (delayed) price updates via /api/real-time/ with REST polling
  • Symbol normalization (AAPLAAPL.US, EUR/USDEURUSD.FOREX, BTC-USDBTC-USD.CC)

Requirements

  • API token from EODHD (required)
  • Node.js 18+ with fetch

Installation

npm install @efixdata/connector-eodhd

Quick start

import { createChart } from "@efixdata/exeria-chart";
import { EodhdAdapter } from "@efixdata/connector-eodhd";

const connector = new EodhdAdapter({
  apiKey: process.env.EODHD_API_KEY!,
});

const chart = createChart({
  container: "#chart",
  dataAdapter: connector,
});

chart.init();

await chart.loadData("AAPL", {
  interval: "1d",
  limit: 500,
});

chart.subscribeToUpdates("AAPL", (tick) => {
  console.log(tick.price ?? tick.c);
});

Configuration

const connector = new EodhdAdapter({
  apiKey: process.env.EODHD_API_KEY!,
  baseUrl: "https://eodhd.com/api",
  defaultStockExchange: "US",
  pollIntervalMs: 5000,
  requestTimeout: 10000,
  maxRetries: 3,
  onError: (error) => console.error(error),
});

Supported intervals

| Exeria | EODHD source | | --- | --- | | 1m, 5m, 1h | Intraday API | | 1d, 1w, 1M | End-of-day API |

Intervals such as 15m, 30m, 2h, and 4h are not supported natively and throw an error.

Licensing

This adapter is paid, source-available software under an EULA (see the package LICENSE and the repository LICENSING.md).

EODHD free tiers are for development and personal use. Production apps with external display require a paid plan. See EODHD pricing.

Do not embed your API token in browser bundles — run this adapter on your server or behind a proxy.

When to use EODHD vs other connectors

  • US/global stocks with deep EOD history → EODHD
  • US stocks + real-time aggregates on one vendorMassive
  • Quick multi-asset demo with one keyTwelve Data
  • Crypto exchange spot, no API keyBinance, Gate.io