JSPM

@fireflysemantics/fs-link-preview

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

A web component for creating previews of html page content

Package Exports

  • @fireflysemantics/fs-link-preview

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

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="https://help-service-parts.fireflysemantics.com/guidesguides--fixed-parameter-optimization-guide">
</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.