We're super excited to announce that as of today, WebPageTest is officially supporting and maintaining the WebPageTest API Wrapper for NodeJS.
I remember reading about the wrapper when Marcel Duran announced it back in 2012 as part of the Web Performance Advent Calendar (an annual highlight in my RSS feeds every December), but I don't remember doing anything with it until two years later, when I built a little Grunt plugin to enforce performance budgets. I think by that time it had already become the primary way that folks interacted with the API.
And it's stayed that way. The NodeJS wrapper has been downloaded over 1.5 million times. It's what drives the integrations our own team has building (like the Slack Bot, the GitHub Action, and the VS Code Extension), and it's what powers so many of the great community-built integrations as well.
It also exposes a CLI that is how people primarily integrate WebPageTest with build systems like Travis CI and Jenkins.
All this time, Marcel has been maintaining this on his own. Naturally, we started helping out, providing "unofficial official" support. Now, thanks to Marcel's help, the source lives under the WebPageTest GitHub organization, making it much easier for our growing team here to actively stay on top of issues, provide new features, and put out new releases.
Speaking of which, we put out a new version of the wrapper this morning. The new version addresses a few lingering bugs an also adds 12 parameters for the API that had been missing from the wrapper itself.
We'll be working through the issues to clean up other outstanding bugs, getting on a regular release cycle, and we've also got a few ideas for things we would like to add to the wrapper. If you have any issues our suggestions, please file an issue so we can plan accordingly.
And, as always, if you use the API to build anything, let us know! We're always excited to see what you all are building, and how we can help you out along the way.
Tim Kadlec is a Performance Engineering Fellow at Catchpoint, web performance consultant, and trainer focused on building a web everyone can use. He is the author of High Performance Images (O'Reilly, 2016) and Implementing Responsive Design: Building sites for an anywhere, everywhere web (New Riders, 2012). He writes about all things web at timkadlec.com.@tkadlec