npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@payload-bites/image-search

v3.3.1

Published

search for images in Payload using various online image providers

Readme

Image search

Search for images from the comfort of your own CMS using various image providers.

https://github.com/user-attachments/assets/b99bb160-788f-4689-9e40-005a6fe0bced

Compatibility table

| Payload version | Image search version | | ------------------ | -------------------- | | v3.18.0 or earlier | Incompatible | | v3.19.0 to v3.23.0 | v1.x | | v3.24.0 or v3.42.0 | v2.x | | v3.43.0 or later | v3.x |

Quick start

  1. Install the plugin:
pnpm add @payload-bites/image-search
  1. Add environment variables:

| Name | CORS URL | Description | | ---------------- | --------------------------- | ---------------------------------------------- | | API_KEY_UNSPLASH | https://images.unsplash.com | The key you configured to use the Unsplash API | | API_KEY_PEXELS | https://images.pexels.com | The key you configured to use the Pexels API | | API_KEY_PIXABAY | https://pixabay.com | The key you configured to use the Pixabay API |

[!IMPORTANT] At least one API key is required to use this plugin.

  1. Add the plugin to your payload.config.ts:
/// ....
import { imageSearchPlugin } from "@payload-bites/image-search";

export default buildConfig({
  // ...
  plugins: [
    // ...
    imageSearchPlugin({
      // ...
    }),
  ],
});

Defaults

For defaults, refer to defaults.ts.

Options

For options, refer to types.ts.

Providers

A provider is an online image library that allows you to view and download images for use in your own projects. In order to use them, you must register an API key with the provider and assign it to its respective environment variable in your project.

Liability

Before using any provider, ensure you have reviewed and agreed to their terms and usage policies. Contributors to this plugin are not responsible for how these images are used.

Roadmap

  • [ ] Image search bulk upload (awaiting custom component implementation by Payload team - discussion).
  • [x] Translations.
  • [x] Custom access control for provider endpoints.