An open API service indexing awesome lists of open source software.

https://github.com/mcchrish/feathers-snake-case-hook

Hook to covert service parameter query to snake_case
https://github.com/mcchrish/feathers-snake-case-hook

Last synced: 3 months ago
JSON representation

Hook to covert service parameter query to snake_case

Awesome Lists containing this project

README

        

# feathers-snake-case-hook

## Installation

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

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

## License

Copyright © 2016

Licensed under the [MIT license](LICENSE).