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
- Host: GitHub
- URL: https://github.com/mcchrish/feathers-snake-case-hook
- Owner: mcchrish
- License: mit
- Created: 2016-07-26T07:44:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-26T08:03:49.000Z (almost 9 years ago)
- Last Synced: 2025-03-23T23:53:34.821Z (3 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).