JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q55388F
  • License ISC

Web client for importing visualizations and analysis from Pipe

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

Build Status Coverage Status

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

Demo / Test bed

Development

  • run gulp
  • visit http://localhost:8001
  • for unit tests, run npm test
  • for code coverage, run gulp coverage