
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@wecodeit/ng-cookie-consent
Advanced tools
Easy way to get and manage users CookieConsent in Angular. It automatically checks for an existing consent cookie - if it exists, no cookie banner will be shown. Otherwise the basic banner will be displayed and the users input will be stored in firestore.
npm i --save @wecodeit/ng-cookie-consent
Import the CookieConsent Module into your app.module.ts and initialize it with your firebase configuration.
import {CookieConsentModule} from '@wecodeit/ng-cookie-consent';
@NgModule({
imports: [
CookieConsentModule.forRoot(environment.firebase)
]
})
export class AppModule { }
If you want to use your own configuration, you can use the COOKIE_CONSENT_CONFIG
InjectionToken:
import {COOKIE_CONSENT_CONFIG, CookieConsentConfig} from '@wecodeit/ng-cookie-consent';
const cookieConfig: CookieConsentConfig = {
bannerConfig: {
htmlHeader: '<b>Just a test</b>'
}
}
@NgModule({
providers: [
{ provide: COOKIE_CONSENT_CONFIG, useValue: cookieConfig }
]
})
export class AppModule { }
👤 WeCodeIt OG
This README was generated with ❤️ by readme-md-generator
FAQs
Did you know?
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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.