@banana6boom/ngx-ssr-timeout
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@banana6boom/ngx-ssr-timeout

Add 14+ Angular support

Fork of @ngx-ssr/timeout

Install package

npm i @banana6boom/ngx-ssr-timeout

Use NgxSsrTimeoutModule to set timeouts for all requests

import { NgModule } from '@angular/core';
import { ServerModule } from '@angular/platform-server';
import { AppModule } from './app.module';
import { AppComponent } from './app.component';
import { NgxSsrTimeoutModule } from '@banana6boom/ngx-ssr-timeout';

@NgModule({
  imports: [
    AppModule,
    ServerModule,
    NgxSsrTimeoutModule.forRoot({ timeout: 500 }),
  ],
  bootstrap: [AppComponent],
})
export class AppServerModule {}

Package Sidebar

Install

npm i @banana6boom/ngx-ssr-timeout

Weekly Downloads

29

Version

1.0.3

License

none

Unpacked Size

31.2 kB

Total Files

13

Last publish

Collaborators

  • banana6boom