sdmx-rest (v2.20.0) is a JavaScript client for the SDMX REST API, enabling construction and execution of data, metadata, and availability queries against SDMX-compliant web services. It simplifies building REST URLs, managing predefined service instances, and handling responses with promises. The library is actively maintained, with semantic versioning and regular releases via semantic-release. Unlike raw HTTP clients, it abstracts query parameter construction and service definitions, making it suitable for statistical data retrieval in Node.js (>=10) or browser environments. Its main differentiators are built-in support for common SDMX endpoints (like ECB) and a fluent API for query building.
npm install sdmx-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Executes a data query against the ECB SDMX service using the request function with a predefined flow and key.
Use sdmxrest.request() instead of sdmxrest().
Ensure Promise global is available or use a polyfill like es6-promise.
Check service availability and use getService with custom base URL if needed.
Use .then() and .catch() or async/await instead of callback parameter.
Use sdmxrest.request(query, ...) instead of sdmxrest(query, ...).
Run 'npm install sdmx-rest' and ensure it's in node_modules.
No dependency data recorded yet.