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

avenger-vega-renderer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avenger-vega-renderer

This crate provides WASM bindings to the pure Rust Avenger crates and a Vega renderer plugin

  • 0.0.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Avenger Vega Renderer

This crate provides WASM bindings to the pure Rust Avenger crates and a Vega renderer plugin

Build

Build the package with:

pixi run build-vega-renderer

This will compile to WASM and copy the WASM and JavaScript files to the dist/ directory.

Test

Run the playwright tests with:

pixi run test-vega-renderer

These tests compare the result of rendering a variety of charts with Vega's default svg renderer and with Avenger. The test app is located in the test_server/ directory.

Typecheck

The JavaScript files in the js/marks directory use TypeScript compatible JSDoc types, and are type checked with:

npm run type-check

Try it out

The examples/vega-renderer directory contains a simple app (created with create-wasm-app and then manually updated to WebPack 5) that uses the Vega renderer.

From within the examples/vega-renderer directory:

npm install
npm run start

FAQs

Package last updated on 11 May 2024

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