0.0.7 • Published 1 year ago

@lightech-llc/case-converter v0.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Lightech Angular Interceptor

This interceptor was created to work around Python BE and convert snake_cased response to appropriate camelCase and backwards for payload.

Installation and setup

Run this command to install the package:

yarn add @lightech-llc/case-converter

Add this CASE_CONVERTER_PROVIDER to the providers: [] list of the root module of your application:

import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';

import {CASE_CONVERTER_PROVIDER} from '@lightech-llc/case-converter';

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

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule],
  providers: [CASE_CONVERTER_PROVIDER],
  bootstrap: [AppComponent],
})
export class AppModule {}
0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

0.0.1

3 years ago