Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
picture-tube
Advanced tools
Render images on the terminal.
var pictureTube = require('picture-tube')
var tube = pictureTube();
tube.pipe(process.stdout);
var fs = require('fs');
fs.createReadStream('robot.png').pipe(tube);
Usage: picture-tube OPTIONS { file or uri }
Options:
--cols number of columns to use for output
var pictureTube = require('picture-tube');
Return a readable/writable stream that reads png image data and writes ansi terminal codes.
Set the number of columns to display the image as with opts.cols
.
Right now only png files work.
To install as a library, with npm do:
npm install picture-tube
To install the command-line tool, with npm do:
npm install -g picture-tube
MIT
FAQs
render 256 color images on the terminal
The npm package picture-tube receives a total of 544 weekly downloads. As such, picture-tube popularity was classified as not popular.
We found that picture-tube 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.