
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
lambda-phantomjs-installer
Advanced tools
Installs phantomjs executable onto phantomjs, so that you don't have to bundle it with your code
This package was created so that PhantomJS can easily be used on AWS Lambda. Due to code size limits on AWS Lambda, it is not always possible to package the preinstalled PhantomJS executable with your code. This package remedies that by allowing you to install PhantomJS from within your AWS Lambda function's code.
npm install --save lambda-phantomjs-installer
Make sure that you include lambda-phantomjs-installer in the zipfile you upload to AWS lambda so that your AWS Lambda function can find the package
var PhantomJSInstaller = require( 'lambda-phantomjs-installer' );
var phantomjs_installer = new PhantomJSInstaller();
exports.handler = function( event, context ) {
phantomjs_installer
.install()
.then( function( phantomjs_path ) {
console.log( 'PhantomJS Installed at ' + phantomjs_path );
context.done();
} )
.catch( function( err ) {
context.done( err );
} );
};
See phantomjs_installer.js for more information about options that can be passed to the installer
FAQs
Installs phantomjs executable onto phantomjs, so that you don't have to bundle it with your code
We found that lambda-phantomjs-installer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.