JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 331908
  • Score
    100M100P100Q168709F
  • License MIT

React element interface for linkifyjs

Package Exports

  • linkify-react
  • linkify-react/dist/linkify-react.cjs
  • linkify-react/dist/linkify-react.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (linkify-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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