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

devdocs-init

v1.0.1

Published

CLI to scaffold professional documentation templates in a docs/ folder for existing projects.

Downloads

14

Readme

devdocs-init

devdocs-init is a friendly Node.js CLI that scaffolds a professional /docs folder for your existing project. It asks a few questions and then generates documentation templates tailored to personal, college, or freelance/client projects.

Installation

Use it instantly via npx:

npx devdocs-init

Or install as a dev dependency:

npm install -D devdocs-init
npx devdocs-init

What it does

  • Prompts for your project name, project type, and which documentation sections to include.
  • Creates a /docs folder (without touching your application code).
  • Generates Markdown templates with helpful prompts and placeholders like {{PROJECT_NAME}}, {{CLIENT_NAME}}, and more depending on the project type.
  • Backs up existing files with a .bak suffix if they already exist.

Example flow

🔧 DevDocs Init – Project Documentation Scaffolder
? Project name › my-next-app
? Project type › Personal / Portfolio
? Include Product docs? › yes
? Include Requirements docs? › yes
? Include Architecture docs? › yes
... (more toggles)

Example generated tree

docs/
  index.md
  product/
    vision.md
    roadmap.md
  requirements/
    user-stories.md
  architecture/
    overview.md
    data-model.md
    api-design.md
    diagrams/
      README.md
  adr/
    ADR-001-example.md
  qa/
    test-strategy.md
  ops/
    ci-cd.md
  process/
    ways-of-working.md
    definition-of-done.md

The exact files depend on the project type and the sections you enable.

Customizing the docs

The generated Markdown is intentionally concise with clear headings and fill-in-the-blank prompts. Open /docs/index.md and follow the links to start editing. Replace placeholders (e.g., {{PROJECT_NAME}}, {{CLIENT_NAME}}, {{COURSE_CODE}}) with real values for your project.

Scripts

  • npm run build — compile TypeScript to dist/
  • npm run start — run the compiled CLI locally (node dist/index.js)
  • npm run prepare — automatically builds on install/publish

Happy documenting! 🎉