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 🙏

© 2026 – Pkg Stats / Ryan Hefner

docogen-webui

v0.0.7

Published

docoGen html module

Readme

docoGen WebUI

npm version npm downloads

docoGen is a document generation tool within your masterpiece.

Introduction

docoGen WebUI is supported from docoGen package which can generate web page to demostrate the document. docoGen WebUI is based on Sementic UI React currently. In future, we will support more web UI library and become more flexible to use.

docoGen Project is an open source project for more convenient and widely used in document generation. If you are interest in this project or repository, please contect with us and feel free to ask us any question. We are very welcome you to join our group.

Prerequisite

  1. Download Node.js and install on your working environment.
  2. Dependencies of gulp as global.
    npm install gulp -g

Usage

Installation

  • Clone from GitHub.
    $ git clone https://github.com/toolbuddy/docoGen-WebUI
  • Install from npm.
    $ npm install docogen-webui --save

Execution

  • Import the module in your code.
    const docogen_web = require('docogen-webui');
  • Function generate_html_ex
    • src_path: the source path to your project root, and it will get all docoGen files (.docogen).
    • dst_path: the destination directory to store those generated web page.
    // Convert docogen to web page (HTML format), with absolute path
    docogen_web.generate_html_ex(src_path, dst_path, function(err, msg) {
        console.log(msg);
    });
    • Using the file extension which named .docogen, and just store JSON format in it.
      • These files treated as configuration dependency to your generated result.
      • More information (Still working on it, see ./test/script/ to see current support)
  • Execution
    $ node yourcode.js
  • Within docoGen-WebUI running, the terminal will output some message about Gulp tasks.
    Have 8 files.
    [17:46:32]
    Working directory changed to ~/Project/docoGen-html-ui
    
    [17:46:32]
    Working directory changed to ~/Project/docoGen-html-ui
    
    [17:46:34]
    Using gulpfile ~/Project/docoGen-html-ui/gulpfile.js
    
    [17:46:34]
    Using gulpfile ~/Project/docoGen-html-ui/gulpfile.js
    
    [17:46:34]
    Starting 'themes'...
    
    [17:46:34]
    Starting 'styles'...
    
    [17:46:34]
    Starting 'vendor'...
    
    [17:46:34]
    Starting 'setup'...
    
    [17:46:34]
    Starting 'browserify-vendor'...
    
    [17:46:34]
    Starting 'i18n'...
    
    [17:46:34]
    Finished 'setup' after 20 ms
    
    [17:46:34]
    Finished 'themes' after 66 ms
    
    [17:46:34]
    Starting 'initial'...
    
    [17:46:34]
    Finished 'initial' after 35 μs
    
    Gulp - Initialize completed
    
    [17:46:35]
    Finished 'i18n' after 1.46 s
    
    [17:46:35]
    Finished 'styles' after 1.53 s
    
    [17:46:35] Finished 'vendor' after 1.64 s
    
    [17:46:37]
    Finished 'browserify-vendor' after 3.24 s
    
    [17:46:37]
    Starting 'browserify'...
    
    [17:46:45]
    Finished 'browserify' after 8.29 s
    
    [17:46:45]
    Starting 'build'...
    
    [17:46:45]
    Finished 'build' after 3.8 μs
    
    Gulp - Build completed

Wiki

  • Contain the latest support and usage explanation.
  • Also the IDE support documentation!

Author


Copyright © 2017 ToolBuddy