Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
console-board
Advanced tools
Display all console output in real html
npm i console-board --save-dev
import { injectRender } from 'console-board';
And Inject somewhere it at your root component
{injectRender()}
Then the component will be used in development and the console
will be patched
Or
You could use import { LogList } from 'console-board'
as you want
LogList
the main component which does the patch and displaying all together
toggleByTouch
default false
: Instead of showing the 😂 button, tap three times in a row to display the log pannelshowOnInit
default false
: show log pannel on startshowInput
default false
: show an input that eval the code (type clear to clear the console board)persistentKey
default @@console
: [TODO] set the key to store the output, set it to null
to disable persistencepatchConsole
proxy the console
and call your custom function before every console call
Return a proxied console
. Used internally in LogList.
injectRender
Helper function to render the LogList only on development
Sometimes the developer console is not available to use, and logging becoming tedious. And some logging options provide plain text output which is not joyful to work with.
console
on Chrome and SafariFAQs
Display all console output in real html
The npm package console-board receives a total of 0 weekly downloads. As such, console-board popularity was classified as not popular.
We found that console-board demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.