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-plugin-vimeo

v0.3.4

Published

PayloadCMS 3.x plugin for managing Vimeo videos

Readme

payload-plugin-vimeo

A PayloadCMS 3.x plugin for managing Vimeo videos directly from the admin panel.

Features

  • Browse your Vimeo library (folders, pagination, grid/list view)
  • Upload videos directly to Vimeo from the admin panel (with progress bar and auto-select on completion)
  • Select videos and store metadata (ID, embed URL, thumbnail, duration, etc.)
  • Configure embed options (autoplay, loop, muted, background mode, DNT)
  • Auto-generated iframe embed HTML stored on the document
  • Open the current video in Vimeo from both the field view and the browser drawer

Installation

npm install payload-plugin-vimeo
# or
bun add payload-plugin-vimeo

Usage

// payload.config.ts
import { vimeoPlugin } from "payload-plugin-vimeo";

export default buildConfig({
  plugins: [
    vimeoPlugin({
      accessToken: process.env.VIMEO_ACCESS_TOKEN,
    }),
  ],
  // ...
});

Vimeo Access Token

The plugin requires a personal access token from Vimeo to call the API.

How to get one

  1. Go to developer.vimeo.com and click Create an app
  2. Fill in the app name and description (e.g. "My CMS"), accept the terms, and click Create app
  3. In the app page, go to the Authentication tab
  4. Under Generate an Access Token, select the following scopes:
    • public — access public video data
    • private — access private/unlisted videos
    • video_files — access video file information
    • upload — upload new videos (required for the upload feature)
  5. Click Generate and copy the token immediately (it is only shown once)

Required scopes

| Scope | Required for | Plan | |---|---|---| | public | Browsing and listing videos | Free | | private | Accessing private and unlisted videos | Paid | | video_files | Reading embed URLs and player data | Free | | upload | Uploading videos directly from the admin panel | Paid |

Note: The upload scope and uploading videos both require a paid Vimeo plan (Starter or above). If your token does not have the upload scope the upload button will return an error.

If you already have a token without the upload scope, you must generate a new one — existing tokens cannot be edited to add scopes.

Configuration

Set the token as an environment variable:

# .env
VIMEO_ACCESS_TOKEN=your_token_here

Or pass it directly in the plugin options (not recommended for production):

vimeoPlugin({ accessToken: "your_token_here" })

Environment Variables

| Variable | Description | |----------------------|---------------------------------| | VIMEO_ACCESS_TOKEN | Vimeo API personal access token |

License

MIT