Simple documentation generator.

npm install emu
3 downloads in the last day
45 downloads in the last week
155 downloads in the last month


emu is a tiny documentation generator. It does the following:

  • Parses stdin JavaScript
  • Extract comments with double asterisks
  • Trims out the prefixed whitespace
  • Prints the results to stdout

That's it.


See the index.js file for an example of how emu generates its own README.md


emu < bilby.js > bilby-docs.md

Now you can process the output with something like Pandoc.

npm loves you