A JavaScript/TypeScript client library for mondrian-rest, an OLAP server. Version 1.1.4, last updated in 2019, appears to be in maintenance mode. Provides a fluent query builder for cube exploration (dimensions, measures, drilldowns). Ships TypeScript types. Not actively developed; limited documentation.
npm install mondrian-rest-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
This example demonstrates creating a MongoDB client, fetching a cube, building a query with drilldowns and measures, executing it, and handling the result.
Provide base URL like 'http://example.com/mondrian' without trailing slash.
Monitor for updates; consider wrapping calls with native fetch if needed.
Use async/await or .then() instead of callbacks.
Install node-fetch: npm install node-fetch
Change import statement to: import { Client } from 'mondrian-rest-client'Ensure the base URL is correct and the mondrian-rest server is running.