
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Pocket plot draws data in a single DOM text element. Demo
A quick and convenient way to display graph data over time.
A graph is text only and consists of scanlines:
_________*_*_____________*____ scanLine 0 (32 bit number)
_______*_____*_________*______ scanLine 1
_____*_________*__*_*_________ etc....
_*_*__________________________ ....
______________________________ ..
A browser
// for example you want to plot ping rates
var pingplot;
pingplot=new PocketPlot(refreshRate,maxY,label);
//arguments :
// refreshRate : draw graph every refreshRate ms
// maxY (in dev) : the highest value of your input variable
// label (in dev) : the label of your input variable
then to display the graph,supply ping parameter to pingplot.draw(), which returns the plot as a single tring:
var ping =0;
setInterval(changeping,50);
function changeping(){
ping+=1
yourHTMLelement.textContent=pingplot.draw(ping);
}
the src folder contains a commented version.
FAQs
Display data graphs directly in any HTML text element.
We found that pocketplot 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.