New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@codice-progressio/estatus-conexion

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codice-progressio/estatus-conexion

Estatus de conexion sencilla para angular.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Estatus conexión

Estatus de conexión limpio y sencillo.

Instalación

npm i @codice-progressio/estatus-conexion

Uso

Agrega la libreria al modulo que desees.

@NgModule({
  declarations: [
    AppComponent,

  ],
  imports: [
      BrowserModule,
      EstatusConexionModule
      ],
  providers: [],
  bootstrap: [AppComponent],
})

Inyecta el servicio en el componente:

export class EstatusConexionComponent implements OnInit {
  constructor(private estatus: EstatusConexionService) {
    this.estatus
        .online
        .subscribe((estado) => (this.conectado = estado));
  }

  conectado: boolean = false;

  ngOnInit(): void {}
}

Keywords

online

FAQs

Package last updated on 20 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts