Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

feathers-snake-case-hook

mcchrish40.1.0

A service hook to convert params.query into snake_case

feathers, feathers-plugin

readme

feathers-snake-case-hook

Installation

npm install feathers-snake-case-hook --save

Usage

import { toSnakeCase } from 'feathers-snake-case-hook'
app.service('/todos').before({
  all: [ toSnakeCase() ]
})

License

Copyright © 2016

Licensed under the MIT license.