Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ng2-awesome-disqus
Advanced tools
Add disqus to your angular app instantly | live demo
Install it with npm
npm install ng2-awesome-disqus --save
Add DisqusModule
to NgModule imports
array.
import {DisqusModule} from "ng2-awesome-disqus";
@NgModule({
imports: [
DisqusModule
]
})
In your template
<disqus [shortname]="disqusShortname" [identifier]="pageIdentifier" ></disqus>
See Disqus official documentation (JavaScript configuration variables) to use the other inputs.
<disqus [shortname]="disqusShortname" [identifier]="pageIdentifier"
[url]="customUrl" [categoryId]="catId" [lang]="'en'"
[removeOnDestroy]="true"
></disqus>
by default the component will reset Disqus configurations after its view initializes again (but won't remove the script), to remove Disqus script completely on component destroy,
set [removeOnDestroy]="true"
(you won't need this option most often).
If you identify any errors in this component, or have an idea for an improvement, please open an issue. I am excited to see what the community thinks of this project, and I would love your input!
Murhaf Sousli
1.0.4
FAQs
Angular Disqus Module
The npm package ng2-awesome-disqus receives a total of 2 weekly downloads. As such, ng2-awesome-disqus popularity was classified as not popular.
We found that ng2-awesome-disqus demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.