@ubilabs/ubilabs-debug-panel
TypeScript icon, indicating that this package has built-in type declarations

1.2.7 • Public • Published

Ubilabs Debug Panel

Description

This is a library to easily implement a debug panel into your application.

Table of contents

Installation

npm install @ubilabs/ubilabs-debug-panel

Usage

Default import from @ubilabs/ubilabs-debug-panel and call the constructor:

import DebugPanel from '@ubilabs/ubilabs-debug-panel';

const debugPanel = new DebugPanel();

Add your custom properties with the syntax:

debugPanel.add('Variable Name', () => {});

Examples

There is a simple example page that imports the debug-panel directly: https://ubilabs.github.io/ubilabs-debug-panel/. To run the example locally:

npm install
npm start

Publish

A publish happens automatically when a new version tag is being pushed:

npm version major|minor|patch
git push && git push --tags

Readme

Keywords

Package Sidebar

Install

npm i @ubilabs/ubilabs-debug-panel

Weekly Downloads

1

Version

1.2.7

License

MIT

Unpacked Size

163 kB

Total Files

21

Last publish

Collaborators

  • aemkei
  • pwambach
  • mrmetalwood
  • usefulthink
  • theamazingpt
  • rich_pb
  • ubilabs-bot