Socket
Book a DemoInstallSign in
Socket

@solid-devtools/frontend

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@solid-devtools/frontend

latest
Source
npmnpm
Version
0.15.4
Version published
Weekly downloads
12K
122.73%
Maintainers
1
Weekly downloads
 
Created
Source

Solid Devtools Frontend

@solid-devtools/frontend

pnpm version npm

The frontend of the devtools extension as a npm package, so it can be embedded in different projects.

Getting started

Installation

npm i @solid-devtools/frontend
# or
yarn add @solid-devtools/frontend
# or
pnpm add @solid-devtools/frontend

The debugger

The debugger package is what you should use to get information out of the reactivity graph of an app you want to debug and display on the devtools.

You can communicate with it using it's plugin API. For reference, see the main package, which contains the code to communicate with the debugger from the devtools extension through a chrome postMessage API.

The controller

The devtools frontend is controlled with a Controller API. It provides a set of methods to trigger actions, and a way to get events from the devtools frontend.

const controller = new Controller({
  onDevtoolsLocatorStateChange(enabled) {
    console.log(enabled)
  },
  onHighlightElementChange(data) {
    console.log(data)
  },
  onInspectNode(data) {
    console.log(data)
  },
  onInspectValue(data) {
    console.log(data)
  },
})

This package is continuously under development, so the API is still not well defined. So instead of focusing on the API, the usage examples should show how you can embed this package in different context.

Changelog

See CHANGELOG.md.

Keywords

solid

FAQs

Package last updated on 01 Jul 2025

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