Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

emu

pufuwozu40MIT1.0.0

Simple documentation generator.

documentation

readme

emu.js

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

  • Parses stdin JavaScript
  • Extract block comments with double asterisks
  • Extract line comments with triple forward slash
  • Trims out the prefixed whitespace
  • Prints the results to stdout

That's it.

Example

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

Usage

emu < index.js > README.md

Now you can process the output with something like Pandoc.