0.1.1 • Published 3 years ago

@inferlink/comments v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Inferlink Comments

This package is meant to be used with the Inferlink Comments API, but a custom API can be supplied if it uses the same contract

Via NPM

npm install @inferlink/comments

// yourfile.js
import Comments from "@inferlink/comments"

CDN

<link href="https://unpkg.com/@inferlink/comments@0.1.1/build/index.css" rel="stylesheet"/>
<script src="https://unpkg.com/@inferlink/comments@0.1.1/build/index.js"></script>

Usage (all fields required)

Comments({
  target: document.getElementById("comments-root"),
  baseURL: "https://yourapilocation.com",
  postID: 1,
  token: "API_TOKEN",
  username: "USERNAME"
})
0.1.0

3 years ago

0.1.1

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago