
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
saiku-query-helper
Advanced tools
A simple node client for saiku REST api. The aim of this package is to run parameterized MDX queries, while minimizing the boilerplate code.
A simple node client for Saiku REST api. The aim of this package is to run parameterized MDX queries, while minimizing the boilerplate code. Parameters in your .saiku file should be formed like the following :
${MyParameter}
Install the module with: npm install -g saiku-query-helper
In order to run the examples you need to have a local Saiku server running with default configuration.
http://analytical-labs.com/downloads.php
Here is a straightforward example :
var SaikuQueryHelper = require('../lib/saikuQueryHelper.js');
var queryHelper = new SaikuQueryHelper('localhost','8080','bob','dylan');
// "weatherLogCubeParam" because our query is saved in saiku-server/tomcat/webapps/saiku/WEB-INF/classes/saiku-repository/weatherLogCubeParam.saiku
queryHelper.query("weatherLogCubeParam",true,{PropertyID: 10}, function(err,result){
console.log(result);
});
Another example containing a simple web server acting as a Saiku "wrapper" is also available in the "examples" directory.
This package has been tested with Saiku server 2.4 and might not work with upcoming versions (if Saiku REST api changes).
That's all folks!
Copyright (c) 2013 Fabien Allanic
Licensed under the MIT license.
FAQs
A simple node client for saiku REST api. The aim of this package is to run parameterized MDX queries, while minimizing the boilerplate code.
The npm package saiku-query-helper receives a total of 3 weekly downloads. As such, saiku-query-helper popularity was classified as not popular.
We found that saiku-query-helper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.