A Neovim plugin that displays npm/yarn/pnpm/bun dependency versions as virtual text and provides quick commands for package management.
package-info.nvim is a Neovim plugin that provides inline visual feedback and quick actions for managing JavaScript/TypeScript package dependencies. It displays the latest available versions of dependencies directly in the `package.json` file as virtual text and allows developers to update, delete, install, or change dependency versions without leaving the editor. It solves the problem of constant context switching between the editor and terminal for routine package management tasks.
Neovim users who work on JavaScript, TypeScript, or Node.js projects and frequently manage dependencies using npm, yarn, pnpm, or bun. It's particularly useful for developers who want to streamline their workflow and reduce terminal usage.
Developers choose package-info.nvim because it integrates package management directly into Neovim, saving time and reducing context switching. Its automatic package manager detection, virtual text display, and one-click actions provide a seamless experience compared to manually running CLI commands.
✍️ All the npm/yarn/pnpm commands I don't want to type
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Displays the latest available versions of dependencies directly in `package.json` as virtual text, using color-coded highlights for up-to-date, outdated, and invalid packages based on `npm outdated --json` output.
Allows updating, deleting, or installing dependencies with a single keystroke, automatically detecting the project's package manager from lockfiles like `yarn.lock` or `package-lock.json`.
Provides a `get_status()` function that can be integrated into custom status bars like Galaxyline or Feline, offering real-time loading feedback for plugin operations.
Includes a Telescope extension for browsing and managing dependencies in a visual, searchable interface, inspired by telescope-lazy.nvim, enhancing usability beyond inline text.
The README explicitly warns that display can be slow on projects with many dependencies due to the external `npm outdated --json` command, with no built-in optimization beyond caching.
Offers no default keybindings, requiring users to manually set up mappings for all actions, which can be tedious and error-prone for newcomers.
Marked as beta with a migration notice for config changes, indicating potential breaking updates and less reliability compared to stable plugins.
Only supports npm, yarn, pnpm, and bun, leaving out other package managers or languages, which restricts its utility in polyglot projects.