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 🙏

© 2025 – Pkg Stats / Ryan Hefner

docogen

v0.1.6

Published

Build your website, doc, and paper one time.

Readme

docoGen

npm version npm downloads

A document generation tool within your masterpiece.

docoGen

  • The coverage :
    • [x] Convert to Latex pdf (latest support, work in progress)
    • [x] Convert to Markdown pdf (deprecate currently)
    • [x] Convert to html (latest support, work in progress)
      • please import package: docoGen-webui
      • currently need to clone the source code to use

See More in Wiki

  • Contain the latest support and usage explanation.

Prerequisite

  • Dependencies of node-latex-pdf. (need to install MiKTeX to generate LaTeX document)
    • You can use install_dep.sh or install_dep.bat to install dependencies
  • 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)
  • New feature: support markdown format!
    • After version 0.1.0, you can now edit .md to writing docoGen!
    • System will transform markdown to docoGen format.
    • See the example in test/md_script/example.md
    • More detail information will be append on docoGen wiki.
  • Within docogen running, MikTex will asked you to install multiple required package with docogen.
    • It will takes minutes to complete the packages dependency installation.
    • For Window user, if you install MikTeX with option each install will be notified, then the first setup will pop out several windows to ask for permission. This is the docoGen format dependencies, It's safety to let it installed.

Usage

For Developer

  • Git clone with submodule
    • It will clone the example scripts
git clone --recursive https://github.com/toolbuddy/docoGen.git

For User

  • Install
npm install docogen --save
  • Install dependencies (after install docoGen package)

    • The install scripts are under docoGen package.
    • Window user
    $ ./node_modules/docogen/install_dep.bat
    • Linux User
    $ bash ./node_modules/docogen/install_dep.sh
  • Example: Generate LaTeX pdf from docoGen script

    • src_path: the source path to your project root, and it will get all docogen files.
    • dest_path: the destination directory to store those generated pdf.
    • options: the user-defined go here. (JSON object format)
      • output: specify the output pdf filename.
const docogen = require('docogen');

// convert docogen to latex (pdf format), with absolute path
docogen.generate_latexpdf( src_path , dest_path , options ,(err,msg)=>{
    console.log(msg);
});
  • See all current support method in test/! Enjoy!

Some practical usage

  • Example - project usage
    • using doc.js as entry to take advantage of docoGen
    • then generate the pdf from scripts under script/.

Join us

Slack Status

Author