1.0.8 • Published 5 years ago

react-link-previewer v1.0.8

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

npm.io

react-link-previewer ⚡

npm type definitions npm NPM npm bundle size

Preview links with page meta tags using React component / hook + Go service.

Docs

Docs with examples and advanced usage are here.

Features

  • ⚡ Client-side and server-side support
  • 🛠️ Hook and component are written in TypeScript
  • 🚀 Fast standalone service (written in Go)

Example

Here's a basic usage example (for more see docs):

import React from 'react'
import { LinkPreview } from 'react-link-previewer'

function App() {
  return <LinkPreview link="https://relaychat.app">RelayChat</LinkPreview>
}

export default App

Installation

# yarn
yarn add react-link-previewer
# npm
npm i react-link-previewer
# pnpm
pnpm i react-link-previewer

Folks using react-link-previewer

Author

v1rtl

1.0.8

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.2

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago