Update example with new API
Add print mode
Format JsDocs to 120 line width
Bump version to 2.2.0