New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-visualizer

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-visualizer

The visualizer in a react component

latest
Source
npmnpm
Version
5.4.0
Version published
Maintainers
4
Created
Source

react-visualizer

Visualizer in a react component. Visualizer index page generator.

makeVisualizerPage

Generate an HTML page which serves the Visualizer, as a Node.js API or as a CLI command.

CLI example:

npx react-visualizer makeVisualizerPage --help

Dev example:

node bin/makeVisualizerPage.js --config=config.example.json

Node.js API: see options of makeVisualizerPage function.

Visualizer

Component which instantiates a visualizer iframe. Pass it a URL generated by makeVisualizerPage.

See component props for more information.

OldVisualizer

The legacy visualizer component works by creating the visualizer page dynamically with a blob URL.

It is not recommended to use it anymore.

Properties

  • cdn - URL of the CDN that will serve the Visualizer. Default: https://www.lactame.com/visualizer
  • fallbackVersion - Visualizer fallback version used if no valid version is found. Default: 'latest'.
  • scripts - Array of scripts to load in the iframe before the Visualizer
  • viewURL
  • dataURL
  • config - URL to the config or object
  • version - version to load or auto to select it automatically based on the view. Default: latest
  • style - style object to apply to the iframe. Default: {width: '100%', height: '100%', position: 'absolute', border: 'none'}

Keywords

react

FAQs

Package last updated on 03 Mar 2026

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