Skip to content
Bookshelf plugin that allows defining custom processor functions that handle transformation of values whenever they are set on a model.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Bookshelf Processor Plugin

Build Status Greenkeeper badge

This is a plugin for the Bookshelf Node.js ORM that allows defining custom processor functions that handle transformation of values whenever they are .set() on a model.

How to use

First install the package:

npm install bookshelf-processor-plugin

Then load the plugin using bookshelf.plugin('bookshelf-processor-plugin'). Now you are all set to start defining custom attribute processors on your models.

For more information check the online wiki page.

You can’t perform that action at this time.