2.0.1 • Published 7 years ago

bookshelf-camelcase v2.0.1

Weekly downloads
1,766
License
MIT
Repository
github
Last release
7 years ago

Description

Simple bookshelf plugin that converts gets to camelCase and sets to snake_case.

Installation

npm install --save bookshelf-camelcase

Usage

In your bookshelf configuration file, add the plugin:

bookshelf.plugin('bookshelf-camelcase');

Or if you have multiple plugins:

bookshelf.plugin(['other-plugin', 'bookshelf-camelcase']);