@fireflysemantics/fs-link-preview

A web component for creating previews of html page content

Usage no npm install needed!

<script type="module">
  import fireflysemanticsFsLinkPreview from 'https://cdn.skypack.dev/@fireflysemantics/fs-link-preview';
</script>

README

fs-link-preview

Web component for rendering link-previews in html content.

Installation

npm i @fireflysemantics/fs-link-preview

CDN

Usage

Include fs-link-preview via CDN like this in your html page:

<fs-link-preview imageURL="https://raw.githubusercontent.com/fireflysemantics/slice/master/logoslicelogo.png"
  title="@fireflysemantics/slice"
  description="Lightweight Web Application State Management"
  domain="www.npmjs.com"
  url="">
</fs-link-preview>

Stackblitz Demo

Development

Baseline

The project baseline is based on the Lit Element Typescript Starter Project.

Package

This project uses the build configuration from the rollup starter app as well as the rollup.config.js example configuration found in the Lit Element Typescript Starter Project.