
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
drawing in terminal with unicode braille characters. The idea is based on drawille by @asciimoo.
install the package with npm
:
$ npm install --save drawille
See examples.
this module provides a very basic API only, for fancy things, like drawing lines, use another module, like bresenham
.
drawille-canvas
provides HTML5 Canvas API for drawille.
Canvas(w, h)
Create a new canvas with the given dimensions.
w
must be multiple of 2, h
must be multiple of 4.
Uses columns
& rows
from process.stdout
as default values for w
and h
.
canvas.set(x, y)
Draw point on canvas
at the given position.
canvas.unset(x, y)
Delete point on canvas
at the given position.
canvas.toggle(x, y)
Toggle point on canvas
at the given position.
canvas.clear()
Clear the whole canvas (delete every point).
canvas.frame(delimiter)
return the current content of canvas
, as a delimiter
-delimited
string. delimiter
defaults to \n
.
it uses braille characters to represent points,
so every line has length of w/2
, and the string contains h/4
lines.
vtop
uses it to draw CPU and memory usage charts in the terminaldatop
uses it to draw dat statisticsboscillate
uses it to draw baudio
soundwaves in real-timeMIT
FAQs
Drawing in terminal with unicode braille characters
The npm package drawille receives a total of 157 weekly downloads. As such, drawille popularity was classified as not popular.
We found that drawille demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.