Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
angular-linky
Advanced tools
Angular pipe to find links in text input and turn them into html links
Angular pipe to find links in text input and turn them into html links. It was called the same "linky" in ngSanitize module of AngularJs (first). Since Angular does not have such pipe built in therefore this repo was created.
This is just a wrapper for Autolinker.js so all issues and feature requests related to autolinker should go to their issues!
AoT ready.
npm install --save angular-linky
Import LinkyModule
or manually declare LinkyPipe
in your app module.
import { LinkyModule } from 'angular-linky';
@NgModule({
imports: [
LinkyModule
]
})
class YourAppModule {}
Use linky pipe with [innerHTML] (or outerHTML, depends on you) binding to get HTML correctly rendered:
<span [innerHTML]="yourText | linky"></span>
You can pass any autolinker option as a second pipe argument. For ex.:
<span [innerHTML]="myText | linky:{newWindow: false}"></span>
MIT
FAQs
Angular pipe to find links in text input and turn them into html links
The npm package angular-linky receives a total of 801 weekly downloads. As such, angular-linky popularity was classified as not popular.
We found that angular-linky 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.