/npm-imported-packages-lens

Provides a link to view packages imported in javascript and typescript files on npm or github repository

Primary LanguageTypeScript

NPM Imported Packages Lens

Visual Studio Marketplace Publish

Provides a codelens link to view packages imported in javascript and typescript files on npm or on github.

"Screen shot for Open Imported Packages on NPM"

Why

When you read JavaScript/Typescript code, have you ever encountered an imported package and wanted to learn more about it? For instance, go to the NPM or GitHub Repo, where you can get more information. When I find myself in this situation, my process always involves copying the package name, Googling it, and finally getting to my destination, either NPM, GitHub Repo, or the website for the package. This can also be not as straightforward as you might think, as it could involve several packages that are closely named, and you have to figure out which one is the correct one. This extension looks to solve this problem and make it easy to learn more about a package.