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

@kaluchi/jdtbridge

v1.3.0

Published

CLI for Eclipse JDT Bridge — semantic Java analysis via Eclipse JDT SearchEngine

Readme

@kaluchi/jdtbridge — CLI reference

CLI for JDT Bridge. Requires Eclipse running with the jdtbridge plugin installed.

Install

cd cli
npm install
npm link    # registers `jdt` and `jdtbridge` global commands

Plugin setup

jdt setup                       # build + install into Eclipse
jdt setup --check               # diagnostic: show status of all components
jdt setup --skip-build          # reinstall last build
jdt setup --clean               # clean build (mvn clean verify)
jdt setup --remove              # uninstall plugin from Eclipse
jdt setup --eclipse <path>      # specify Eclipse path (saved to config)

If Eclipse is running, you will be prompted to stop it. After install, Eclipse restarts automatically with the same workspace.

Commands

Run jdt help <command> for detailed flags and examples. Most commands have short aliases.

Search & navigation

jdt projects                                           # list workspace projects
jdt project-info <name> [--lines N]                    # (alias: pi) project overview
jdt find <Name|package> [--source-only]                 # find types by name, wildcard, or package
jdt references <FQMN> [--field <name>]                  # (alias: refs) references to type/method/field
jdt subtypes <FQN>                                     # (alias: subt) all subtypes/implementors
jdt hierarchy <FQN>                                    # (alias: hier) supers + interfaces + subtypes
jdt implementors <FQMN>                                # (alias: impl) implementations of interface method
jdt type-info <FQN>                                    # (alias: ti) class overview (fields, methods)
jdt source <FQMN>                                      # (alias: src) source code (project + libraries)

Testing & building

jdt build [--project <name>] [--clean]                 # (alias: b) build project
jdt test <FQMN> [--timeout N]                           # run JUnit test class or method
jdt test --project <name> [--package <pkg>]            # run tests in project/package

All commands auto-refresh from disk. build is the only command that triggers explicit builds.

Diagnostics

jdt errors [--project <name>] [--file <path>]          # (alias: err) compilation errors
jdt errors --warnings --all                            # include warnings and all marker types

File paths are workspace-relative: my-app/src/main/java/.../Foo.java.

Refactoring

jdt organize-imports <file>                            # (alias: oi) organize imports
jdt format <file>                                      # (alias: fmt) format code (Eclipse settings)
jdt rename <FQN> <newName>                             # rename type
jdt rename <FQMN> <newName>                            # rename method (FQMN includes method)
jdt rename <FQN> <newName> --field <old>               # rename field
jdt move <FQN> <target.package>                        # move type to another package

Editor

jdt active-editor                                      # (alias: ae) current file and cursor line
jdt open <FQMN>                                        # open in Eclipse editor

Instance discovery

The CLI reads ~/.jdtbridge/instances/*.json to find running Eclipse instances. Each file contains port, auth token, PID, and workspace path. Stale instances are filtered by PID liveness.

When multiple instances are running, use --workspace <hint> or the CLI picks the first live one.

Override the home directory with JDTBRIDGE_HOME environment variable.

Color output

Auto-detected from TTY. Override:

  • --color / --no-color flags
  • FORCE_COLOR=1 / NO_COLOR=1 env
  • JDTBRIDGE_COLOR=1 env

Development

npm test              # run tests
npm run test:watch    # watch mode