@fireflysemantics/fs-link-preview
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

fs-link-preview

Web component for rendering link-previews in html content.

Installation

npm i @fireflysemantics/fs-link-preview

CDN

Include fs-link-preview via CDN like this in the head tag of your html page:

<script src="https://unpkg.com/@fireflysemantics/fs-link-preview"></script>

Usage

Creating Link Previews With the Firefly Semantics fs-link-preview Web Component

<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.

Package Sidebar

Install

npm i @fireflysemantics/fs-link-preview

Weekly Downloads

139

Version

1.0.15

License

MIT

Unpacked Size

339 kB

Total Files

57

Last publish

Collaborators

  • ole.ersoy