Socket
Book a DemoInstallSign in
Socket

@electric-sql/debug-toolbar

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electric-sql/debug-toolbar

<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/electric-sql/meta/main/identity/ElectricSQL-logo-light-trans.svg" /> <source media="(prefers-color-s

2.0.2-canary.9c16bb5
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source
ElectricSQL logo

ElectricSQL - Developer Toolbar

These are a collection of tools that can be used by developers to help them debug their ElectricSQL apps

Adding this toolbar to your project

Add the toolbar to your project's devDependencies in package.json

  "devDependencies": {
    ...
    "@electric-sql/debug-toolbar": "latest",
    ...
    }

In your code after calling electrify, if in debug mode, import and pass the electric client into addToolbar:

const electric = await electrify(conn, schema, config)

if (config.debug) {
  const { addToolbar } = await import('@electric-sql/debug-toolbar')
  addToolbar(electric)
}

This will add the toolbar to the bottom of your window

FAQs

Package last updated on 01 Jul 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.