Sign In

@shipeasy/next

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shipeasy/next

Next.js middleware adapter for Shipeasy — mints the shared __se_anon_id bucketing cookie at the edge.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@shipeasy/next

Next.js middleware adapter for Shipeasy. Mints the shared __se_anon_id bucketing cookie at the edge, before render, so the very first request already has a stable bucketing unit — SSR and the browser SDK then evaluate against the identical value at any rollout percentage.

npm install @shipeasy/next
// middleware.ts
export { middleware, config } from "@shipeasy/next";

Composing with your own middleware:

import { withShipeasy } from "@shipeasy/next";

export const middleware = withShipeasy(async (req) => {
  // …your logic; return a NextResponse, or nothing to continue
});

next is a peer of this package only — it is not a peer of @shipeasy/sdk, which declares no peer dependencies at all.

Full docs: https://shipeasy-ai.github.io/sdk-ts/pages/installation.md

FAQs

Package last updated on 26 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts