Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
webpagetest-mongo-wrapper
Advanced tools
Node wrapper for webpage test to handle running tests and pushing to mongo through mongoose
Clone down the webpagetest repo
$ git clone git@bitbucket.org:hxshortbreaks/webpagetest-wrappe.git
Get all the built-in dependencies:
$ npm install
Fill in config.json with API Key, server url, database url & sites you want to test
API key - Key for your server, if your using webpagetest this can be aquired from Patrick Meenan pmeenan@webpagetest.org
serverUrl - URL to request our tests from, default webpagetest.org
databaseUrl - Where does your database live e.g. mongodb://localhost/speedTestResults
webPageTestOptions - List all options you want to pass into the webpagetest node wrapper
Sites - Bundle of sites put down for us to loop over e.g.
"1" : "www.siteone.com",
"2" : "www.sitetwo.co.uk"
Download monogdb & run the following command from inside the directory
$ mongod --dbpath /PATH/TO/webpagetest-wrapper.git
In another window, in the same directory, run the following command.
$ mongo
Make sure your mongo server is up and running
$ node index.js
Will run through and individually run each test one at a time and close down the connection after its finished
Code is linted by ".jshintrc" and checked against the coding style guide "shortbreaks.jscs.json" when you run the default grunt task:
$ grunt
There are currently no tests
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
(Nothing yet)
Copyright (c) 2014 Shortbreaks Licensed under the MIT license.
FAQs
Automated site speed tests and push results to mongo
The npm package webpagetest-mongo-wrapper receives a total of 0 weekly downloads. As such, webpagetest-mongo-wrapper popularity was classified as not popular.
We found that webpagetest-mongo-wrapper 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.