linkify-react
TypeScript icon, indicating that this package has built-in type declarations

4.1.3 • Public • Published

linkify-react

npm version

Linkify React component. Use it to find URLs, email addresses and more in child strings and replace them with strings and <a> elements.

Installation

Install from the command line with NPM

npm install linkifyjs linkify-react

Import into your JavaScript with require

const Linkify = require('linkify-react');

or with ES modules

import Linkify from 'linkify-react';

Usage

const contents = 'helloworld.com';

<Linkify options={...}>
  {contents}
</Linkify>

Read the full documentation.

License

MIT

Package Sidebar

Install

npm i linkify-react

Weekly Downloads

178,182

Version

4.1.3

License

MIT

Unpacked Size

18.1 kB

Total Files

9

Last publish

Collaborators

  • nfrasser