vega-lib
Include Vega in projects using minimal dependencies.
Last updated 7 years ago by jheer .
BSD-3-Clause · Repository · Original npm · Tarball · package.json
$ cnpm install vega-lib 
SYNC missed versions from official npm registry.

vega-lib

Include Vega in client-side projects using minimal dependencies.

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. With Vega you can describe data visualizations in a JSON format, and generate interactive views using either HTML5 Canvas or SVG.

The vega-lib repository packages up the Vega codebase for use in client-side projects (for example, using Webpack or Browserify) with minimal server-side dependencies. We exclude node-canvas dependencies to remove compilation steps and associated overhead.

For more about Vega, including support for server-side rendering, see the main Vega repository and Vega website.

Basic Setup and Testing

For a basic setup allowing you to build Vega and run examples:

  • Run git clone git@github.com:vega/vega-lib.git to clone this repository.
  • Run yarn to install dependencies. If you don't have yarn installed, see https://yarnpkg.com/en/docs/install.
  • Once installation is complete, use yarn test to run tests and yarn run build to build output files.

This repository includes web-based demos within the test folder. To run these, launch a local web server in the top-level directory for the repo and point your browser to the right place (e.g., http://localhost:8080/test/).

Need help launching a local web server? Run npm install -g http-server to install a node.js-based web server, then run http-server -p 8080 to serve files from the current directory on port 8080.

Current Tags

  • 4.4.0                                ...           latest (7 years ago)

16 Versions

  • 4.4.0                                ...           7 years ago
  • 4.3.0                                ...           7 years ago
  • 4.2.0                                ...           8 years ago
  • 4.1.0                                ...           8 years ago
  • 4.0.0                                ...           8 years ago
  • 4.0.0-rc.3                                ...           8 years ago
  • 4.0.0-rc.2                                ...           8 years ago
  • 3.3.1                                ...           8 years ago
  • 3.3.0                                ...           8 years ago
  • 3.2.1                                ...           8 years ago
  • 3.2.0                                ...           8 years ago
  • 3.1.0                                ...           8 years ago
  • 3.0.10                                ...           8 years ago
  • 3.0.10-beta                                ...           8 years ago
  • 3.0.10-alpha2                                ...           8 years ago
  • 3.0.10-alpha                                ...           8 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 3
Last Month 4
Dev Dependencies (7)

Copyright 2013 - present © cnpmjs.org | Home |