Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vizabi-ws-reader

Package Overview
Dependencies
Maintainers
8
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vizabi-ws-reader

Vizabi WS reader

  • 2.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
78
Maintainers
8
Weekly downloads
 
Created
Source

Vizabi WS reader

Example of adding the compiled WS reader to a web page after vizabi script

<script src="libs/vizabi.min.js"></script>
<script src="libs/vizabi-ws-reader.js"></script>

Example of integrating WS reader into vizabi

//WS reader integration
var wsReader = WsReader.WsReader.getReader();
Vizabi.Reader.extend("waffle", wsReader);

Example of configuring WS reader: pointing it to a certain dataset#branch and WS enpoint
dataset_access_token is only required for datasets marked as private during import via ws cli
assetsPath is only requred if we want to use asset queries in vizabi tool
dataset is only required when the dataset we want to request is differnet from the one set in WS as default dataset
#branch in dataset can be ommitted, then the missing branch is equal to #master

VIZABI_MODEL.data = {
  "reader": 'waffle',
  "path": 'https://waffle-server-dev.gapminderdev.org/api/ddf/ql',
  "dataset": 'Gapminder/ddf--my--dataset--repo#branch',
  "assetsPath": 'https://import-waffle-server-dev.gapminderdev.org/api/ddf/assets/',
  "dataset_access_token": "aaaaaaabbbbbbbccccccdddddddeeeeeefffffff11112222333444556677890"
};

FAQs

Package last updated on 29 Mar 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc