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

nodedocs

v1.0.3

Published

Generate documentation from your cwd served up on localhost:0.0.0.0

Downloads

12

Readme

nodedocs

nodedocs is THE documentation tool for node.js. Starting from your current working directory, nodedocs will scan your node_modules directory for project README.md files. It will build a nice little tree of your dependency list, with all of the READMEs served up on localhost!

Usage

nodedocs

Output

Building docs...
Done!
Staring server on 0.0.0.0:8080

You can now open your webbrowser and head on over to 127.0.0.1:8080 and you will see all the documentation for packages installed in your cwd!

Imgur

Why does this exist?

Many languages have clunky auto-documenting tools that serve up local documentation. There is JavaDoc, godoc, etc. These rely on you to document function calls inline. This is dumb. Why do I, as a consumer of your tool, care about its implementation? Documenting function calls accomplishes nothing, and fails to give you the larger picture of what the module is designed to do.

Node got it right

Incubated in the github ecosystem, nearly every project has a proper README.md. To make this scenario even more awesome, npm hosts up this fantastic readme in the package manager. Nodes culture of decoupling documentation from code is fantastic.

Cool, so READMEs, but why nodedocs?

I'm glad you asked. So the project you maintain uses an old version of hapi. You go out to npmjs.org or github.com to view it's documentation. Not surprisingly, this project has a fantastic README.md file (it is node). You use this documentation, and your code throws up errors everywhere. Why? Hapi's api has changed, thus the doucmentation you are looking at online is different then the api for the module you have installed.

But wait!

It gets worse. You are working on an awesome project in an airport terminal. You npm install --save gfm2html and immediately the come over the intercom saying it is time to board the plane. You get on the plane and immediately realize you didn't open github to view gfm2html's documentation... Wait! nodedocs to the rescue! Instead of paying $400 for 15 minutes of internet through American Airlines, simply type nodedocs for the low low price of free!

How to make a dirty martini

- 1 shotglass of Dry Vermouth
- 2 shotglasses of Gin
- 1 olive
- 1 tablespoon of olive juice
- 1 shaker
- As much ice as can fit in the shaker
Mix olive juice, gin, and vermouth in the shaker. Strain into martini glass.
Kick back and enjoy your locally served node documentation.