
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
digital-display
Advanced tools
Javascript library to draw 7-segment displays
This example in plunker: demo/index.html
2.1 digital-display.js and digital-display.min.js are under dist folder.
2.2 Include digital-display.js or digital-display.min.js, e.g.
<head>
...
<link rel="stylesheet" href="../dist/digital-display.css">
<script src="../dist/digital-display.js"></script>
</head>
Just use it inside your javascript code this way:
<script>
var dd1 = new DigitalDisplay("00:00:00", {
el: null,
x: 0,
y: 0
});
dd1.displayText("88:88 88");
var w = dd1.getWidth();
var h = dd1.getHeight();
var dd2 = new DigitalDisplay("00:00", {
el: null,
x: 20,
y: 200,
baseUnit: 5
});
var dd3 = new DigitalDisplay("abcdef", {
el: null,
x: 20,
y: 400,
baseUnit: 5
});
var dd4 = new DigitalDisplay("00:00:00", {
el: "greenBox",
x: 10,
y: 10,
class: "mio",
width: 100
})
<script>
digital-display.js is MIT licensed.
FAQs
Javascript library to draw 7-segment displays
The npm package digital-display receives a total of 1 weekly downloads. As such, digital-display popularity was classified as not popular.
We found that digital-display 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.