gh-talk

0.1.4 • Public • Published

gh-talk

light discuss add-on based on github issue's comments.

start

npm i -S gh-talk

or

<link rel="stylesheet"  href="https://unpkg.com/gh-talk/dist/index.css" />
<div id="talk-container"></div>
<script src="https://unpkg.com/gh-talk/dist/index.js"></script>

init

new GhTalk({
  selector: '#talk-container'
  // custom maintain a github app
  clientId: string,
  clientSecret: string,
 
  // login with new dialog tab
  dialog: url,
  owner: string
  issueId: number
  repo: string
  renderFn?: Function
  renderEditor?: Function
  renderComments?: Function
  exchangeTokenURL?: string
})

Readme

Keywords

none

Package Sidebar

Install

npm i gh-talk

Weekly Downloads

0

Version

0.1.4

License

ISC

Unpacked Size

60.3 kB

Total Files

4

Last publish

Collaborators

  • cotton