@witty-services/ngx-serializer
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

NgxSerializer

ngx-serializer-ci npm version GitHub GitHub repo size GitHub last commit GitHub issues GitHub top language

Informations

⚠️ Since version 1.0.7, ngx-serializer and ts-serializer have been published under @paddls namespace. We continue to maintain @witty-services namespace, but now, ngx-serializer depends on @paddls/ts-serializer

Summary

Introduction

NgxSerializer is an angular wrapper of ts-serializer library. You can get more infos on TS Serializer library documentation page.

Installation

npm i @paddls/ngx-serializer

Recommended Angular versions

Angular NgxSerializer
17.0.0 and above 5.0.0 and above
16.0.0 and above 4.0.0 and above
15.0.0 and above 3.0.0 and above
14.0.0 and above 2.0.0 and above
8.0.0 and above 1.0.0 and above

How to use

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgxSerializerModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
}

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {

  public constructor(serialize: NgxSerializerService) {
  }
}

You can also use serialize, serializeAll, deserialize and deserializeAll rxJS operators in your observables.

Readme

Keywords

none

Package Sidebar

Install

npm i @witty-services/ngx-serializer

Weekly Downloads

3

Version

5.0.0

License

MIT

Unpacked Size

42 kB

Total Files

29

Last publish

Collaborators

  • lexwitty
  • thomasnisole
  • rmartineau
  • corentin.langlais
  • oguerin