serge-pro-dev

shared

by serge-pro-dev
payload-plugins
Other
v4
^4.0.0-beta.12
MIT

Overview

Summary generated from the README

A support package used by the serge-pro-dev Payload plugins and installed automatically as their dependency. It provides common modules for a UTM cookie contract and tracker component, sync or queued delivery of form notifications, a consent cookie contract with rules and default texts, plus shared admin labels and config types. It targets Payload 4 beta and is meant for direct use only when building plugins on the same contracts.

Features

  • UTM cookie contract with server reader and browser script
  • UtmTracker component for Next.js
  • Sync or queue delivery of form notifications via Payload Jobs
  • Consent cookie contract, rules and default texts with browser runtime
  • Cached consent settings reader for Next.js
  • English and Russian admin labels and an Enabled checkbox helper

Use cases

  • Build a custom Payload plugin that follows the same UTM and consent contracts as the serge-pro-dev plugins
  • Reuse form notification delivery logic that can run synchronously or through Payload Jobs

From the author

Shared helpers of the serge-pro-dev Payload plugins: UTM, form delivery, consent contract. Installed automatically with the plugins.

Installation

npm i @serge-pro-dev/payload-plugins-shared

0

Stars

0

Forks

0

Open Issues

Yesterday

Last Updated

524

Weekly Downloads

v0.1.0-beta.1

npm Version

114.7 KB

Unpacked Size

0

Dependencies

Repository stars

Trends appear once the first and last snapshots are 7 days apart. Collecting since Nov 29 — 7 daily snapshots so far.

Shared by 6 plugins in serge-pro-dev/payload-plugins.

npm weekly downloads

Trends appear after 7 days of data. Collecting since Dec 4 — 2 daily snapshots so far.

Each point is npm's rolling 7-day download count.

Health Score

77/100Excellent

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1479182369-shared.svg)](https://payloaddirectory.dev/plugins/1479182369-shared)
HTML
<a href="https://payloaddirectory.dev/plugins/1479182369-shared"><img src="https://payloaddirectory.dev/badge/1479182369-shared.svg" alt="Payload Directory"></a>
Updated Dec 4, 2026Created Dec 1, 2026Published Dec 3, 2026

README

@serge-pro-dev/payload-plugins-shared

Shared code of the serge-pro-dev Payload plugins.

You do not install it yourself: the plugins list it as a dependency and your package manager adds it. Install it directly only if you write your own plugin on top of the same contracts.

ModuleWhat it is
/utmUTM cookie contract, server reader, browser script; /utm/next has the <UtmTracker /> component
/delivery"sync" or "queue" (Payload Jobs) delivery of form notifications
/consentConsent cookie contract, rules and default texts; /consent/client is the browser runtime, /consent/next the cached settings reader
/enabledThe "Enabled" checkbox of integrations
/i18n{ en, ru } labels for the admin
/payload-configThe type of the project's Payload config that server components receive

Plugins never import each other: they only share these contracts.

MIT

Similar plugins