vscode-package.json-inspector

A VS Code extension to inspect packages in package.json file.

MIT License

Stars
4

Preview

Hover to see metadata of package

  • title: with a link if the package provide the homepage field
  • description: hidden if no description
  • entry: entry file of package(main/module/types or typings)
  • version: currently using and the latest version
  • bundle info: size/tree shakeable .etc. , only for public npm packages(powered by bundlephobia.com)

cmd + click to goto node_modules

Configuration

Following settings are avaliable in .vscode/settings.json:

  • 'pkg.inspector.disableBundlephobia': string

    Use regular expressions to match package names to disable the use of bundlephobia analysis packages. E.g., 'lodash' or '/lodash/'.

Install

Install it in the marketplace of VS Code

License

MIT License 2023 Kricsleo