# ngx-snake-to-camel

> This is a interceptor for angular to convert http response body from snake to camel case and convert http request body from camel to snake case.

Latest version **1.0.6** (published 2020-08-31) · 0 weekly downloads

## Install

```sh
npm install ngx-snake-to-camel
pnpm add ngx-snake-to-camel
yarn add ngx-snake-to-camel
bun add ngx-snake-to-camel
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-08-31 |
| First published | 2020-08-31 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Arthur Chang |
| Maintainers | arthurc0102 |
| Keywords | angular, angular2, ng, ng2, http, interceptor, case, convert, converter, camel case, snake case |

## Links

- npm: https://www.npmjs.com/package/ngx-snake-to-camel
- Repository: https://github.com/arthurc0102/ngx-snake-to-camel
- Homepage: https://github.com/arthurc0102/ngx-snake-to-camel#readme
- Issues: https://github.com/arthurc0102/ngx-snake-to-camel/issues
- npm.io page: https://npm.io/package/ngx-snake-to-camel

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^2.0.0
- [@ridi/object-case-converter](https://npm.io/package/@ridi/object-case-converter.md) ^2.0.4

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 1.0.6 (latest) — 2020-08-31
- 1.0.5 — 2020-08-31
- 1.0.4 — 2020-08-31
- 1.0.3 — 2020-08-31
- 1.0.2 — 2020-08-31
- 1.0.1 — 2020-08-31
- 1.0.0 — 2020-08-31
- 0.0.1 — 2020-08-31

## README

# NgxSnakeToCamel

This is a interceptor for angular to convert http response body from snake to camel case and convert http request body from camel to snake case.

## Install

```
npm install ngx-snake-to-camel
```

## Use

```typescript
import { NgModule } from '@angular/core';

import { NgxSnakeToCamelModule } from 'ngx-snake-to-camel';

import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [
    ...
    NgxSnakeToCamelModule.forRoot(), // Add this
    ...
  ],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
```

---
_Source: https://npm.io/package/ngx-snake-to-camel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
