My attempt at creating an optional helper.
UPDATE: I’ve made this plugin a package.
npm install --save bookshelf-simplepaginate