0.0.7 • Published 1 month ago

@lightech-llc/case-converter v0.0.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month 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 month ago

0.0.7

1 month ago

0.0.6

1 month ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.4

12 months ago

0.0.1

2 years ago