1.0.0/1.0.4 - frantic-ducks
Rewritten with a better API and CLI output.
Update
$ npm install --global psi
Improved CLI UI
- Humanized URL
- More succinct labels
- Empty stats removed
- Various other tweaks
Improved API
The API no longer outputs to the terminal. You can use the psi.output()
method to do that.
The url
option is now the first argument instead of the options object.
The default strategy
changed from desktop
to mobile
. As mobile is eating the world.
Before
psi({
url: 'todomvc.com',
strategy: 'desktop'
}, function (error, data) {
console.log(data);
});
After
psi('todomvc.com', {strategy: 'desktop'}, function (error, data) {
console.log(data);
});