Socket
Book a DemoInstallSign in
Socket

brandeur-plugin-debug

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brandeur-plugin-debug

Brandeur plugin to debug layouts

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
0
Created
Source

brandeur-plugin-debug

Adds deubg styles to elements for simple layout debugging.
Uses styles-debugger under the hood.

npm version npm downloads Bundlephobia

Installation

# npm
npm i --save brandeur-plugin-debug
# yarn
yarn add brandeur-plugin-debug
# pnpm
pnpm add brandeur-plugin-debug

Usage

import debug from 'brandeur-plugin-debug'

const plugin = debug()

Configuration

Parameter TypeDefault Description
autoActive boolean true Whether debug styles are active globally
config ConfigCustom styles-debugger configuration

When autoActive is disabled, one can opt-in by passing debug: true in a style object.

import debug from 'brandeur-plugin-debug'

const plugin = debug(false, {
  debugWith: 'background',
})

License

Brandeur is licensed under the MIT License.
Documentation is licensed under Creative Commons License.
Created with ♥ by @robinweser.

Keywords

brandeur

FAQs

Package last updated on 06 Mar 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