Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@wecodeit/ng-cookie-consent
Advanced tools
Readme
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
@wecodeit/ng-cookie-consent 👋
The npm package @wecodeit/ng-cookie-consent receives a total of 0 weekly downloads. As such, @wecodeit/ng-cookie-consent popularity was classified as not popular.
We found that @wecodeit/ng-cookie-consent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.