Skip to Content
Octopus Energy Packages

Installation

Headless primitives for fetching and displaying energy measurement data

@octopus-energy/measurements provides headless React primitives for fetching, transforming, and displaying energy measurement data from the Kraken GraphQL API.

Install

npm i @octopus-energy/measurements @tanstack/react-query
Peer dependencyVersionWhen
@tanstack/react-query^5.59.16Using the /react-query entry point
nuqs^2.0.0Using the /storage/nuqs entry points
react^19.0.0Using useTimeframe and usePreferences hooks

What are you building?

The package supports two independent features that share the same data-fetching layer:

On this page