bookshelf-virtuals-plugin

1.0.0 • Public • Published

Bookshelf Virtuals Plugin

Build Status Greenkeeper badge

This is a plugin for the Bookshelf Node.js ORM that allows getting or setting virtual (computed) properties on model instances.

How to use

First install the package:

npm install bookshelf-virtuals-plugin

Then load the plugin using bookshelf.plugin('bookshelf-virtuals-plugin'). Now you are all set to define virtual properties on your models.

For more information check the online wiki page.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3,160
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3,160
  • 0.1.1
    332
  • 0.1.0
    0

Package Sidebar

Install

npm i bookshelf-virtuals-plugin

Weekly Downloads

2,743

Version

1.0.0

License

MIT

Unpacked Size

10.8 kB

Total Files

5

Last publish

Collaborators

  • devius