# Search npm Packages for Raycast

URL: https://www.raycast.com/mrmartineau/search-npm

> Search npm packages, view READMEs, bundle size from Bundlephobia and Snyk vulnerabilities, copy install commands and save favorites.

- Install: raycast://extensions/mrmartineau/search-npm
- Author: [Zander Martineau](https://www.raycast.com/mrmartineau)
- Installs: 25,775
- Platforms: macOS, Windows
- Categories: Developer Tools
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/9eec094e87a21d26b55df98dc74e7c7ba5a718ce/extensions/search-npm/

## Commands

- **Search Packages**: Search for npm package information. Also view bundlephobia.com cost, the package's README and Snyk vulnerability info
- **View Favorites**: View your favorite packages

## README

<div align="center">
  <img
    src="https://github.com/mrmartineau/raycast-extensions/blob/main/search-npm/assets/command-icon.png?raw=true"
    width="50"
  />

  <h1>
    Search npm
  </h1>

Raycast extension to search and favorite npm packages

  <p>
    <a href="https://www.raycast.com/mrmartineau/search-npm">
      <img src="https://img.shields.io/badge/Raycast-Store-red.svg"
        alt="Find this extension on the Raycast store"
      />
    </a>
    <a
      href="https://github.com/MrMartineau/raycast-extensions/blob/master/LICENSE"
    >
      <img
        src="https://img.shields.io/badge/license-MIT-blue.svg"
        alt="raycast-extensions is released under the MIT license."
      />
    </a>
    <img
      src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
      alt="PRs welcome!"
    />
    <a href="https://twitter.com/intent/follow?screen_name=MrMartineau">
      <img
        src="https://img.shields.io/twitter/follow/MrMartineau.svg?label=Follow%20@MrMartineau"
        alt="Follow @MrMartineau"
      />
    </a>
    <a href="https://github.dev/mrmartineau/raycast-extensions">
      <img src="https://img.shields.io/badge/Open_in-GitHub.dev-red.svg"
        alt="Open in GitHub.dev"
      />
    </a>
  </p>
</div>

##### Actions for each search result

###### Links

- open the package's repository (if it is known)
- open the package's homepage (if it is known)
- open the package's changelog (if it is known)
- open the package's npm page
- open the package's Skypack.dev page

###### Info

- view the package's README in a Raycast detail view
- view the package's bundle cost on [bundlephobia.com](https://bundlephobia.com). hit <kbd>cmd + shift + enter</kbd>
- view the package's [Snyk](https://snyk.io) vulnerability report
- view the package source code on [GitHub.dev](https://github.dev) & [CodeSandbox](https://codesandbox.io)

###### Actions

- add/remove package to/from favorites

###### Copy

- copy yarn/npm install commands to clipboard
  - copy install command for preferred package manager: <kbd>cmd + shift + c</kbd>
  - copy install command for alternate package manager: <kbd>cmd + opt + c</kbd>
- copy package name to clipboard

##### Preferences

- choose your default package manager. `yarn`, `npm` or `pnpm`
- choose your secondary package manager. `yarn`, `npm` or `pnpm`
- choose the default "open" action for a package: "open repository", "open homepage" or "open npm package page" or "open Skypack package page"
- choose how many history items to show

##### Screencast

https://github.com/raycast/extensions/assets/64883/e94be63a-50c9-4fa5-9f7c-788ebbb4ca72

##### Options

<img width="311" alt="image" src="https://github.com/raycast/extensions/assets/64883/a4953656-6678-4f72-ac50-2e6b54a21172"/>
