
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.
ScratchのアニメーションをJavaScriptで実現したくて作りました。
webmエクスポート可能です。
bun iimport { L, createVideoRenderer } from "jsvideo";
const video = createVideoRenderer(640, 480, [
L.rect(function*(state){
state.r = 0;
state.g = 0;
state.b = 0;
state.x = 0;
state.y = 0;
state.width = 640;
state.height = 480;
while(true) yield true;
}),
L.text(function*(state){
state.text = "えーりんえーりん!";
state.r = 255;
state.g = 255;
state.b = 255;
state.x = 0;
state.y = 0;
yield;
for(let j = 0;j < 2;j++){
for(let i = 0;i < 20;i++){
state.y += (100-state.y)/10
yield;
}
for(let i = 0;i < 20;i++){
state.y += (0-state.y)/10
yield;
}
}
})
]);
document.body.appendChild(video.canvas);
requestAnimationFrame(function callback(){
if(video.render()) return;
else requestAnimationFrame(callback);
})
To install dependencies:
bun install
To run:
bun run src/index.ts
This project was created using bun init in bun v1.1.42. Bun is a fast all-in-one JavaScript runtime.
FAQs
JavaScript 2 Video
We found that jsvideo demonstrated a healthy version release cadence and project activity because the last version was released less than 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.