patchwork-threads
var threadlib = require('patchwork-threads')
threadlib.fetchThreadRootID (ssb, mid, cb)
threadlib.getPostThread (ssb, mid, opts, cb)
threadlib.getParentPostThread (ssb, mid, opts, cb)
threadlib.flattenThread (thread)
threadlib.reviseFlatThread(ssb, thread, cb)
threadlib.getPostSummary (ssb, mid, opts, cb)
threadlib.getParentPostSummary (ssb, mid, opts, cb)
threadlib.fetchThreadData (ssb, thread, opts, cb)
threadlib.iterateThread (thread, maxDepth, fn)
threadlib.iterateThreadAsync (thread, maxDepth, fn, cb)
threadlib.attachThreadIsread (ssb, thread, maxdepth, cb)
threadlib.attachThreadIsbookmarked (ssb, thread, maxdepth, cb)
threadlib.compileThreadVotes (thread)
threadlib.markThreadRead (ssb, thread, cb)
threadlib.decryptThread (ssb, thread, cb)
threadlib.getLastThreadPost (thread)
threadlib.getRevisions(ssb, thread, callback)
threadlib.getLatestRevision(ssb, msg, callback)
threadlib.countReplies(thread, [filter])
threadlib.isaReplyTo(a, b)
threadlib.isaMentionTo(a, b)
thread.lib.isaRevisionTo(a, b)