My attempt at creating an optional helper.
UPDATE: I’ve made this plugin a package.
npm install --save bookshelf-simplepaginate
If you google around you’ll find plenty of examples on how-to create a custom authorizer for serverless lambda events.
I used this example when I was building mine:
// Return an IAM policy document for…