Skip to content

A small axios middleware to convert keys between rails_snake_case_keys and javascriptCamelCaseKeys

License

Notifications You must be signed in to change notification settings

rikas/axios-rails-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@rikas/axios-rails-middleware

npm (scoped) install size

Small package to convert the JSON objects from Rails (snake_case) to JavaScript (lowCamelCase).

Install

npm install @rikas/axios-rails-middleware

or

yarn add @rikas/axios-rails-middleware

Usage

import { registerService } from '@rikas/axios-rails-middleware';
registerService();

About

A small axios middleware to convert keys between rails_snake_case_keys and javascriptCamelCaseKeys

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published