Skip to content
Myr

docs

This file

Path

support/docs

21 lines · 595 bytes

Last changed by

Not known.

History of this file

Take it

1#!/usr/bin/env node23var buf = '';4process.stdin.setEncoding('utf8');5process.stdin.on('data', function(chunk){6  buf += chunk;7}).on('end', function(){8  var comments = JSON.parse(buf);9  comments.forEach(function(comment){10    if (comment.ignore) return;11    if (comment.isPrivate) return;12    if (!comment.ctx) return;13    if (!comment.description.full.indexOf('Module dep')) return;14    var ctx = comment.ctx;15    console.log();16    console.log('# %s', ctx.string);17    console.log();18    console.log(comment.description.full.trim().replace(/^/gm, '  '));19  });20  console.log();21}).resume();