
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@amit.rajput/react-linkify
Advanced tools
React component to parse links (urls, emails, etc.) in text into clickable links
React component to parse links (urls, emails, etc.) in text into clickable links
Forked from the amazing https://github.com/tasti/react-linkify repo, converted to use latest features of typescript and react, ESM and CJS bindings
Any link that appears inside the Linkify component will become clickable.
<Linkify>See examples at amitrajput1992.github.io/react-linkify/.</Linkify>
Renders to:
See examples at amitrajput1992.github.io/react-linkify/.
If you're feeling lazy, you can wrap Linkify around anywhere that you want links to become clickable. Even with nested elements, it traverses the tree to find links.
<Linkify>
<div>react-linkify <span>(amitrajput1992.github.io/react-linkify/)</span></div>
<div>React component to parse links (urls, emails, etc.) in text into clickable links</div>
</Linkify>
Renders to:
react-linkify (amitrajput1992.github.io/react-linkify/)
React component to parse links (urls, emails, etc.) in text into clickable links
yarn add @amit.rajput/react-linkify
or
npm install @amit.rajput/react-linkify --save
or
pnpm i @amit.rajput/react-linkify --save
import Linkify from '@amit.rajput/react-linkify';
React.render(
<Linkify>Examples are available at amitrajput1992.github.io/react-linkify/.</Linkify>,
document.body
);
component
The type of component to wrap links in.
type: any
default: 'a'
properties
The props that will be added to every matched component.
type: object
default: {}
NOTE: Use Linkify.MATCH as a value to specify the matched link. The properties prop will always contain {href: Linkify.MATCH, key: 'LINKIFY_KEY_#'} unless overridden.
You can access to the global Linkify instance used to linkify contents by importing it (import { linkify } from '@amit.rajput/react-linkify').
That way you can customize as needed (e.g. disabling existing schemas or adding new ones).
Note that any customization made to that instance will affect every Linkify component you use.
All kind of links detectable by linkify-it are supported. For examples, visit their website.
FAQs
React component to parse links (urls, emails, etc.) in text into clickable links
We found that @amit.rajput/react-linkify 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.