
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
p5js-node a Node.js implementation of the p5.js for drawing to canvas with nodejs. (using node-canvas
)
The p5js.org website contains an extensive overview of the project, community, documentation, and examples.
node-p5
It doesn't use jsdom and is actively maintained always up to date fork
Get familiar with p5js: https://p5js.org/get-started
Install p5-node
npm i p5js-node
const p5 = require('p5js-node')
const path = require("path")
const fs = require("fs");
new p5((p)=>{
p.setup = function() {
p.createCanvas(1920,1080);
};
p.draw = function() {
p.background(0);
p.fill(255);
p.rect(10,10, 50, 50);
fs.promises.writeFile(__path.join(__dirname,"..","test.png")__, p.canvas.toBuffer())
};
})
This is a fork of p5.js for nodejs which doesn't support all browser apis.
Environment:
- describe()
- describeElement()
- fullscreen()
- getURL()
- getURLPath()
- getURLParams()
- getURLParams()
- gridOutput()
- textOutput()
Data:
- storeItem()
- getItem()
- clearStorage()
- removeItem()
DOM:
- select()
- selectAll()
- removeElements()
- changed()
- input()
- createDiv()
- createP()
- createSpan()
- createImg()
- createA()
- createSlider()
- createButton()
- createCheckbox()
- createSelect()
- createRadio()
- createColorPicker()
- createInput()
- createFileInput()
- createVideo()
- createAudio()
- VIDEO
- AUDIO
- createCapture()
- createElement()
- p5.MediaElement
- p5.File
If you have found a bug in the original p5.js library, you can file it here here.
If you found a bug in the node implementation, you can file it here here.
Check out p5js.org for lots more! Here are some quick-links to get started learning p5.js.
FAQs
P5.js port for nodejs canvas
The npm package p5js-node receives a total of 0 weekly downloads. As such, p5js-node popularity was classified as not popular.
We found that p5js-node 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.