
Security News
Socket Named a Supply Chain Innovator in Latio's 2026 Application Security Market Report
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.
[](https://circleci.com/gh/Nexucis/ng-onoff) [](https://badge.fury.io/js/ng-onoff) [
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { NgOnoffModule } from 'ng-onoff';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NgOnoffModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
And then use the component in a container that suits you :)
<div style="height: 100vh">
<ng-onoff></ng-onoff>
</div>
Any contribution or suggestion would be really appreciated. Feel free to use the Issue section or to send a pull request.
The repository provide a light demo to play with the onOff component and to try an integration with angular material.
The MIT License (MIT)
Copyright (c) 2019 Augustin Husson
FAQs
[](https://circleci.com/gh/Nexucis/ng-onoff) [](https://badge.fury.io/js/ng-onoff) [
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.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.

Research
/Security News
Malicious Packagist packages disguised as Laravel utilities install an encrypted PHP RAT via Composer dependencies, enabling remote access and C2 callbacks.