package-json-lsp
Native Rust language server for package-manager catalog references in package.json.
It supports pnpm, Yarn, and Bun catalog metadata and provides:
- inlay hints for resolved
catalog:versions - hover information for catalog and dependency versions
- go-to-definition for catalog and
workspace:references - code lenses, diagnostics, and code actions for pnpm outdated packages
Install
From crates.io:
With prebuilt binaries via cargo-binstall:
From this repository:
Usage
Start the language server over stdio:
Neovim example:
vim.. =
vim..
CLI
Development