JSPM

@fireflysemantics/fs-link-preview

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

A web component for creating previews of html page content

Package Exports

  • @fireflysemantics/fs-link-preview
  • @fireflysemantics/fs-link-preview/fs-link-preview.bundle.js
  • @fireflysemantics/fs-link-preview/fs-link-preview.js

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 (@fireflysemantics/fs-link-preview) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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:

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.