Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mainawycliffe/npm-packages-lookup

A Visual Studio extension that displays links to NPM, Git Repo (GitHub/GitLab, etc.) and Homepage for an imported package in javascript and typescript files on hover.
https://github.com/mainawycliffe/npm-packages-lookup

analog angular astro astrojs es6 javascript npm npm-package npmjs react reactjs svelte sveltekit typescript vscode vscode-extension vue vuejs

Last synced: about 11 hours ago
JSON representation

A Visual Studio extension that displays links to NPM, Git Repo (GitHub/GitLab, etc.) and Homepage for an imported package in javascript and typescript files on hover.

Awesome Lists containing this project

README

        

NPM Packages Lookup - The Ultimate Onboarding Extension for Developers



[Download from Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=MainaWycliffe.view-package-on-npm)

## Learn more about a package being used in your codebase

NPM has hundreds of thousands of packages, and sometimes we come across packages
that we are not familiar with. This extension helps you learn more about a
package being used in your codebase by providing links to the NPM package,
Homepage, and Git Repository.

NPM Packages Lookup is the ultimate onboarding VS Code extension. When
reading code, we sometimes come across JS/TS packages that are unfamiliar, with
this extension, just hover on the imported package, and you will get information
from NPM, about the current version of the extension being used, with links to
the NPM package,Homepage and Git Repository.

!["Screenshot"](./screenshots/screenshot.png)

> We are open to suggestions and PRs, feel free to open an issue or a PR.

## How it works

Hover on an imported npm package and wait as the package links are loaded,
as shown below 🤯🤯🤯🤯.

!["Screen shot for Open Imported Packages on NPM"](./screenshots/demo.gif)

## Features

- Link to NPM
- Link to Git Remote Repository (GitHub, GitLab, BitBucket, etc.)
- Link to Homepage (Docs Site) - (Data from NPM - Homepage Settings)
- Link to Git Repository to view existing issues or report a bug
- Supports Javascript and Typescript (JSX/TSX variants as well)
- ES Modules imports Support
- Supports package.json
- Version and License information
- Support for Vue, Astro, and Svelte
([Suggestions](https://github.com/mainawycliffe/npm-package-lookup/issues/new)
and PRs are welcome)

## Roadmap

| Feature | Status |
| -------------------------------------- | ------ |
| Support version checks on package.json | ✅ |
| Support for ES Modules imports | ✅ |
| Support for Typescript/Javascript | ✅ |
| Support for JSX/TSX | ✅ |
| Support for Vue | ✅ |
| Support for Astro | ✅ |
| Support for Svelte | ✅ |
| Support CommonJS Modules | 🚧 |

## Why

I created this extension to help developers get to important links for a package
all in one place. Want to learn more about a package being utilized in your
codebase, this extension will help you do that efficiently, no need to go
through Google.

## Contributing

PRs and suggestions are welcome