Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
linkifyjs
Advanced tools
Changelog
v4.0.0
linkifyjs/string
, linkifyjs/html
, linkifyjs/plugins/*
packages. Use linkify-string
, linkify-html
and linkify-plugin-*
instead.mailto:
now have type url
instead of email
linkify-plugin-ip
plugin for detecting IPv4 and IPv6 addresseslinkify-plugin-keyword
plugin for detecting arbitrary keywordslinkify.find()
function accepts an options
argument for output formattingrender
option to override link renderingoptionalSlashSlash
argument for registerCustomProtocol
to allow links that don't require //
after scheme:
toFormattedString(options)
, toFormattedHref(options)
and toFormattedObject(options)
that accept a linkify.Options
objectlinkify-react
: New as
property (alias for tagName
)truncate
)linkify-html
: Improved HTML entity parsingReadme
Core Linkify JavaScript library. Use Linkify and its related packages to find links in plain-text and convert them to HTML <a> tags
Install from the command line with NPM
npm install linkifyjs
Import into your JavaScript with require
const linkify = require('linkifyjs');
or with ES modules
import * as linkify from 'linkifyjs';
Separate packages are available for each of the following features:
MIT
FAQs
Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML links.
The npm package linkifyjs receives a total of 929,866 weekly downloads. As such, linkifyjs popularity was classified as popular.
We found that linkifyjs 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.