yslow-grader
A very simple JavaScript API wrapping the command-line combo of phantomjs and yslow.
Right now, it's a dead simple usage. Something like this:
YslowGrader =yslowGrader =yslowGrader;
Assumptions:
- PhantomJS has to be on your path. A configuration option should be added later.
- The "-i grade" option with default rule configuration is what you want. Configuration should be added later.
- You don't need error handling. Error handling should be added later.