Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
ngx-freshchat
Advanced tools
Angular Wrapper for [Freshchat](https://www.freshworks.com/live-chat-software/) js library. It requires Angular 6 or above.
Angular Wrapper for Freshchat js library. It requires Angular 6 or above.
Run npm install ngx-freshchat
.
Import the library inside your desired module:
@NgModule({
imports: [
...
NgxFreshChatModule
...
Import the service and launch the init command:
constructor(private chat: NgxFreshChatService) {}
ngOnInit() {
this.chat.init({
token: YOUR_FC_TOKEN,
host: YOUR_FC_URL
})
.subscribe(
() => console.log('FreshChat is ready!')
);
}
The library tries to mimic all the original properties and method names, but I made the methods respond with observables in order to allow checking the status of your requests. For more info please refer to the official documentation.
NB: The methods from the "user" object are mapped directly in the service. (i.e. window.fcWidget.user.setProperties()
from the js is mapped as this.chat.setUserProperties()
)
Contributions are welcome.
Thanks goes to these wonderful people (emoji key):
Claudio Suardi 💻 📖 👀 | Will Poulson 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Angular Wrapper for [Freshchat](https://www.freshworks.com/live-chat-software/) js library. It requires Angular 6 or above.
The npm package ngx-freshchat receives a total of 434 weekly downloads. As such, ngx-freshchat popularity was classified as not popular.
We found that ngx-freshchat 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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.