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

@rupanjan123/devtrackcli

v1.0.6

Published

A CLI tool to track your developer logs and thoughts.

Readme

Devtrack CLI Tool 🛠️


🚀 Installation

npm install -g @rupanjan123/devtrackcli

⚠️ Do not install locally (without -g) — the dev command will not be available in your terminal.


🧐 Ever feel lost coming back to a project after a few days?

As developers, we often return to a project after a break and think: "What was I even doing here?"

Git commits brilliantly track code changes, but they rarely capture the thought process, debugging insights, or design decisions that are critical to our work.

We scribble random notes in Notion, sticky notes, or worse — lose track entirely. Our brains work task-by-task, and writing them down helps retain clarity.

That's why I built Devtrack CLI 🛠️ A simple command-line tool to log your ideas, blockers, bugs, notes, and progress independently of Git. Think of it as "committing your thoughts," not just your code.


✨ What's New & Improved?

🔎 Smarter Folder-Based Context (Default Behavior)

  • Logs now default to the current folder name as the project
  • If you dev switch-to <project>, logs go to that project until you change folders
  • Moving to a different folder resets the project context automatically
  • No global sticky context — just intuitive folder-based tracking

🧠 How Devtrack Context Works

📁 1. Folder-Based Logging (Default)

Devtrack automatically logs your entries under the folder name you're currently in.

cd ~/projects/ChatbotApp
dev new "Improve authentication strategy"

➡️ This will be logged under ChatbotApp.

🔀 2. Switch Context Temporarily

Use this when you want to log under a different project without changing folders !:

dev switch-to backend

➡️ Logs will now go under backend until a new project is encountered or is registered.

🚶 3. Folder Change = Context Reset

As soon as you cd into a different folder, Devtrack resets the context back to the folder name:

cd ../ExpenseTracker

➡️ Logs will now go under ExpenseTracker (not backend anymore).

🧪 Summary Table

| Scenario | Where logs go | | ------------------------------- | ----------------- | | Inside a folder (no switch) | Folder name | | After dev switch-to <project> | Switched project | | After new project encountered | Folder name again |


✨ Global & Local Databases

  • Store logs locally inside project folders or globally for cross-project memory
  • Use --global flag or --scope to switch views and searches

🔍 Powerful Search

  • Fuzzy search across local, global, or all logs
  • Smart filters: search by project, author, tags, or date range
  • Search even with numerics and special characters now

🎨 Smart Tagging & Auto Context

  • Tag logs as per your choice: bug, task, design, note, idea, etc.
  • Auto-registers your folder as a project when logging for the first time
  • Switches context automatically when moving to a new folder

➕ New Commands

  • dev switch-to <project> – switch context manually (local to current folder)
  • dev resume – return to your last working context in that folder (context switch)
  • dev context – view current effective project
  • dev all – view logs from local, global, or all scopes
  • dev search – fuzzy or exact search with --scope, --tags, --author, etc.
  • dev clean – clean logs if database reaches a certain size threshold

🎓 Real-Life Developer Flow

# 1. Start in a folder (default project = folder name)
cd ~/projects/ChatbotApp

# 2. Log a new idea
dev new "Using WebSockets for real-time chat instead of polling." -t idea

# 3. Log a bug
dev new "Chat lags when typing fast. Debounce input needed." -t bug

# 4. Save a quick note
dev new "Review message throttling strategy for smoother UI." -t note

# 5. Switch to a project temporarily
dev switch-to backend

dev new "Add Redis pub-sub for horizontal scaling." -t design

# 6. Change folder (context resets)
cd ../ExpenseTracker

dev new "Choosing between localStorage and IndexedDB." -t design

# 7. Plan sprint
dev new "Add export-to-CSV feature in admin dashboard." -t task

# 8. View all logs
dev all

# 9. Search all logs
dev search "chat" --scope all

# 10. Filter by project & tag
dev search --project ExpenseTracker --tags design

# 11. View current project context
dev context

# 12. Resume work from your current project
dev resume

# 13. View global logs
dev all --scope global

# 14. Clean logs
dev clean

ℹ️ Why Not Just Git?

Git is great for code, but:

  • ❌ Doesn't track what you're thinking
  • ❌ No support for personal logs unrelated to commits
  • ❌ No quick journal-like tracking across projects

Devtrack is:

  • 🧠 Brain-first, not just code-first
  • 🛠️ Lightweight, always available
  • 📂 Structured, searchable, and scoped logging

🌐 NPM Package

https://www.npmjs.com/package/devtrack


Let me know what you think – feedback or ideas to improve it are always welcome! ✨

#devtools #cli #nodejs #productivity #opensource #logging #developerworkflow