Package Exports
- pipe-web-client
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pipe-web-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pipe web client
Installation
npm install pipe-web-client --save
Usage
{compile-query} = (require \pipe-web-client) end-point: "pipe-api-server-url"
{execute, transformation-function, presentation-function} <- compile-query \your-query-id .then
# execute :: (Promise p) => Boolean -> Parameters -> p result
query-result <- execute false, {} .then
# transformation-function :: result -> Parameters -> result
transformed-result = transformation-function query-result, {}
# presentation-function :: DOMElement -> result -> Parameters -> DOM()
presentation-function view, transformed-result, {}Plottables
- correlation-matrix
- funnel
- heatmap
- histogram
- histogram1
- multi-bar-horizontal
- multi-chart
- regression
- scatter
- scatter1
- stacked-area
- table
- timeseries
- timeseries1
Development
- run
gulp - visit
http://localhost:8001 - for unit tests, run
npm test - for code coverage, run
gulp coverage