Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Duck Doc GoNew to Visual Studio Code? Get it now.
Duck Doc Go

Duck Doc Go

SoFriendly LLC

|
300 installs
| (1) | Free
View Documentation for Imports
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Duck Doc Go

Duck Doc Go is a Visual Studio Code extension that displays npm package documentation within the editor. It allows developers to quickly access and view package documentation without leaving the comfort of their IDE.

Features

  • Provides a "Show Documentation" CodeLens above import statements in JavaScript and TypeScript files.
  • Displays the README of the imported npm package within a WebView panel in Visual Studio Code.

How it works

Duck Doc Go uses a combination of regular expressions and the npm view command to fetch and display the README content of the imported npm packages. The extension analyzes the import statements in your JavaScript and TypeScript files, and provides a "Show Documentation" CodeLens above the import lines.

When you click on the "Show Documentation" CodeLens, the extension fetches the README content of the corresponding package using the npm view command. The fetched Markdown content is then converted to HTML using the markdown-it library and displayed in a WebView panel within Visual Studio Code.

Usage

  1. Install the Duck Doc Go extension from the Visual Studio Code Marketplace.
  2. Open a JavaScript or TypeScript file with import statements for npm packages.
  3. You will see a "Show Documentation" CodeLens above each import statement.
  4. Click on "Show Documentation" to open the documentation (README) of the imported package in a WebView panel within Visual Studio Code.

License

This extension is licensed under the MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft