Skip to content

Bookshelf plugin that allows defining custom processor functions that handle transformation of values whenever they are set on a model.

License

Notifications You must be signed in to change notification settings

bookshelf/processor-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 20, 2020
e4284cd · Jun 20, 2020

History

55 Commits
Jun 20, 2020
Aug 4, 2019
Aug 4, 2019
Aug 9, 2019
Aug 4, 2019
Sep 21, 2019
Jun 20, 2020
Jun 20, 2020
Aug 4, 2019
Sep 21, 2019
Jun 20, 2020
Jun 20, 2020
Jun 20, 2020

Repository files navigation

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.