komentify

0.1.3 • Public • Published

Javascript integration

The javascript integration is installable over npm

npm install --save komentify

How to use

import komentify from 'komentify'

const komentifyInstance = komentify({
  appId: 'myAppId',
  elementId: 'myDivWrapperId'
})

console.log(komentifyInstance.getScriptSnippet())

The options that can be specified are:

  • appId The App ID that can be found in the komentify backend
  • elementId ID of element that should contain the component
  • siteId (optional) ID that specifies the current site that is viewed

Package Sidebar

Install

npm i komentify

Weekly Downloads

4

Version

0.1.3

License

MIT

Last publish

Collaborators

  • matteodem