Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@kldzj/puppeteer-stream
Advanced tools
Readme
Using this package you are able to screen capture your puppeteer pages.
To use this package a ffmpeg binary needs to be available. You can obtain it from here or using the ffmpeg-static package.
Using yarn:
$ yarn add @kldzj/puppeteer-stream
Using npm:
$ npm i -S @kldzj/puppeteer-stream
View the examples on how to use this package.
x11
recorderWhen using the x11
recorder it is recommended to render to a xvfb
server.
$ export DEBUG=puppeteer-stream:*
$ xvfb-run -s "-screen 0 1920x1080x24" yarn ts-node examples/x11.ts
const browser = await puppeteer.launch();
const page = await browser.newPage();
// https://github.com/puppeteer/puppeteer/issues/6904
const streamer = new PuppeteerStreamer(page as unknown as Page, {
// ffmpegPath: '/path/to/ffmpeg',
output: {
format: 'mp4',
path: join(process.cwd(), 'output.mp4'),
},
frameSize: {
width: 1280,
height: 720,
},
fps: 30,
});
// navigate page
await page.goto('https://example.com');
// start recording
await streamer.start();
// do something
await page.waitFor(1000);
// stop recording
await streamer.stop();
// finish up
await browser.close();
FAQs
Screen capture puppeteer pages using either CDP tools or fmmpeg's x11grab
The npm package @kldzj/puppeteer-stream receives a total of 1 weekly downloads. As such, @kldzj/puppeteer-stream popularity was classified as not popular.
We found that @kldzj/puppeteer-stream 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.