npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

documon

v2.5.5

Published

A documentation system for mortals. Use with any language.

Downloads

54

Readme

Documon

A documentation system for mortals. Use with any language.

Generates a static, searchable JSDoc style documentation from source code. Uses a customizable template system, and will process a markdown folder (aka "more" folder) where auxiliary documentation (outside of source code) can reside.

Since documon doesn't infer anything from the source code (all methods and arguments must be tagged manually), you maintain full control over the final output structure.

Run from CLI, or integrate into node project.

Full Documentation

See full documentation at: https://www.documon.net

Get It

NPM: https://www.npmjs.com/package/documon

Github: https://github.com/bobtherobot/documon

Directly: https://www.documon.net (as "stand alone" )

Quick Start

In Node (javascript)

Install via NPM:

npm install documon

Generate Docs:

var docs = require("documon");
doc({
    src			: "/path/to/src/code",
    out			: "/path/to/docs/output",
    more 		: "/where/are/more/markdowns",
    ignore		: [
                    '/path/to/src/dont/process/me',
                    '/path/to/src/node_modules'
                  ],
    name		: "My Project",
    version		: "1.0.0",
    launch		: false,
    print		: true,
    dumpData	: true,
    sourceExt	: ["js"],
    gati 		: 'UA-106684927-1'
});

From CLI

Generate docs:

node /path/to/documon/index.js "/path/to/source/code" "/path/to/destination"

Benefits

Comment tags are soley responsible for organizing the resulting heirarchy (inheritence and membership).

  • Built for mortals, runs on Node.
  • Generates static website (no server-side stuff).
  • Search enabled (low overhead, no database)
  • Use within any Node build system.
  • Zero dependancies.
  • Use with any programming language.
  • Plain-text + markdown based.
  • JavaDoc syntax.
  • Structure is derived soley from the comments.
  • Direct control over final structure of the resulting website.
  • Great for small and large projects.
  • Auto inheritance cross fill and referencing (links to and fills children classes with inherited methods, props and events).

Documon does NOT:

  • Actual source code not required.
  • Doesn't interpret / execute source code.
  • No over-arching code organization required.
  • Doesn't infer inheritence / membership from the directory structure.
  • Doesn't infer property / method names, arguments, etc, from the source code.

As a result, comment blocks must be robust and include all pertinent details required to generate documentation.

Get Involved

Platforms

Documon is written in Javascript and runs on the Node platform, which runs on Linux, Mac, and Windows systems. Documon can be installed using NPM, or ↆ downloaded directly.

Templates

Templating is handled through vanilla javascript modules, leveraging ES6's Template Literals. This provides the highest level of flexability with zero-dependancies, unlimited logic constraints, and nothing new to learn.

Of course, since templates are JS, you can always roll some other templating system, such as Twig, or Handlebars, into your custom template.

Dependancies

Documon's only dependancy is Node, no additional modules are needed.

Change Log

v2.5.5 - 2024-11-14 @ 12:31:42

  • updates

v1.1 - 2019-10-20 @ 13:10:18

  • updates

v1.0 - 2017-01-28 @ 13:09:49

  • initial release

Author & Copyright

Copyright © Mike Gieson. Released under the MIT license.

.