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

idea-debug-inspector

v0.1.4

Published

Local bridge and CLI to open project files in IntelliJ IDEA during development.

Readme

IDEA Debug Inspector

Пакет состоит из 2 частей:

  • локальный bridge (idea-debug start), который открывает файл в IntelliJ IDEA;
  • Chrome extension (extension/), который ловит клик по React-компоненту и отправляет запрос в bridge.

Без extension клик-инспектор работать не будет.

Конфиг bridge: C:\Users\<username>\.idea-debug-inspector\config.json

1) Установка

В проекте:

npm i -D idea-debug-inspector

2) Первая настройка bridge

npx idea-debug setup

Пример значений:

  • Project ID: next-core
  • Project root path: D:/work/next-core/frontend/gtb
  • Hosts: localhost:3000
  • IDEA command: Enter

Проверка:

npx idea-debug doctor

3) Запуск bridge

npx idea-debug start

Оставь этот терминал открытым.

4) Подключение extension в Chrome

  1. Открой chrome://extensions
  2. Включи Developer mode
  3. Нажми Load unpacked
  4. Выбери папку: node_modules/idea-debug-inspector/extension

Если устанавливаешь пакет глобально, путь будет из глобального npm-каталога, но обычно для проекта используй node_modules.

5) Запуск фронта

Во втором терминале:

npm run start

6) Использование в браузере

  • Зажми Ctrl+Shift и наведи мышь на элемент: появится зеленая подсветка.
  • Клик: откроется исходный файл в IDEA.
  • Shift+Click: открыть родительский компонент из trace.
  • Alt+I: lock/unlock inspect режима.

В консоли страницы будут логи:

  • [IDEA Debug Inspector] page script injected
  • [IDEA Debug Inspector] page inspector loaded
  • [IDEA Debug Inspector] ready (page context) ...

7) Быстрый чек если не работает

  1. npx idea-debug doctor показывает Bridge ... [OK]
  2. В chrome://extensions включено именно текущее расширение из node_modules/idea-debug-inspector/extension
  3. После обновления пакета нажми Reload на расширении
  4. Страница приложения перезагружена
  5. В DevTools Console видны логи инициализации

8) Полезные команды

npx idea-debug doctor
npx idea-debug stop

Если порт занят:

npx idea-debug stop
npx idea-debug start

9) Публикация новой версии

npm version patch
npm publish --access public

Если npm publish падает с E403, включи 2FA в npm или используй token с правом publish.