🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

doco

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doco

A JavaScript Documentation Engine

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

doco - A JavaScript Documentation Engine

doco aims to become a reasonable documentation generator for comprehensively documented JavaScript code.

It might be for you, if...

  • you are comfortable with documenting every single exposed variable and function, like for Closure Compiler.
  • you use GitHub a lot and would love to have some markdown documentation.

So, what's the current state?

  • It parses comments including the following variable or function declaration.
  • It parses Closure Compiler-like type annotations.
  • It creates a reflected tree structure of all the comments, tags and types.
  • It outputs GitHub-flavoured markdown.
  • It implements node's stream interface for interoperability.

What does it not do (yet)?

  • It's not yet able to split documentation into multiple files (like for inner classes etc.).
  • It does not try to fully understand the code (it does not recognize any scopes).

Still interested?

  • See an example

  • Check the wiki

  • Inspect the sources

  • Try it:

    npm install -g doco
    doco --gen=markdown YourClass.js > YourClass.md

License

Apache License, Version 2.0

Keywords

documentation

FAQs

Package last updated on 11 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts