bc

bookshelf-camelcase

Convert column names to camelCase for gets and back to snake_case for sets

Showing:

Popularity

Downloads/wk

3.3K

GitHub Stars

20

Maintenance

Last Commit

4yrs ago

Contributors

4

Package

Dependencies

2

Size (min+gzip)

2.6KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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']);

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100