Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
atom-screenshot
Advanced tools
Take screenshots using atom-shell
npm install atom-screenshot
var fs = require('fs');
var screenshot = require('atom-screenshot');
screenshot({
url : 'http://google.de',
width : 1024,
height : 768
})
.then(function(img){
fs.writeFile('./out.png', img.data, function(err){
screenshot.close();
});
});
Will return a Promise containing an object like:
{
data: <Buffer >
size: {
width: X
height: N
}
}
Type: number
(seconds)
Default: 0
Delay capturing the screenshot.
Useful when the site does things after load that you want to capture.
Type: number
Default: 0
Specify the with of the browser window
Type: number
Default: 0
Specify the height of the browser window
Type: Object
Default: undefined
An crop object may look like this:
{
x : 10,
y : 10,
width : 100,
height : 100
}
Type: String
Default: undefined
This css will be injected into the page before the screenshot is taken.
Will close the screenshot service. Needed to let the node process exit
0.5.0
atom-shell@0.21.3
data
and size
.0.4.5
0.4.4
.0.22.7
axon
for ipc.0.4.3
0.4.1
socket.io-client
0.4.0
0.20.6
.jquery
because of a "bug" in atom-shell
(See [#254](See https://github.com/atom/atom-shell/issues/254))0.3.2
window.requestAnimationFrame
to be sure that at least one paint has happend.0.3.1
0.3.0
css
option to inject custom css0.2.0
0.20.5
close()
method0.1.3
0.19.5
0.1.2
0.15.8
0.1.1
0.15.4
0.1.0
FAQs
Take screenshots using atom-shell
We found that atom-screenshot 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.