Source: https://seerepo.com/compare/discordjs/discord.js/vs/payloadcms/payload
Markdown source: https://seerepo.com/compare/discordjs/discord.js/vs/payloadcms/payload.md
Description: discord.js and payload share 3 technologies: Redis, Zod, and prompts. Both are written in TypeScript.

# discord.js vs payload

discord.js and payload share 3 technologies: Redis, Zod, and prompts. Both are written in TypeScript.

- [discordjs/discord.js](https://seerepo.com/r/discordjs/discord.js): A powerful JavaScript library for interacting with the Discord API
- [payloadcms/payload](https://seerepo.com/r/payloadcms/payload): Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

## What they share and what sets them apart

- In common: Redis, Zod, prompts
- Only in discord.js: validate-npm-package-name
- Only in payload: TanStack, Next.js, React, Sentry, @next/env, MongoDB, Postgres, SQLite, graphql-scalars, graphql-http, Vue, @aws-sdk/lib-storage, AWS S3, bson-objectid, Stripe, MCP, @azure/storage-blob, Google Cloud, aws-sdk, Vercel, Vite, @clack/prompts, Drizzle, nodemailer, amazon-cognito-identity-js, @monaco-editor/react, react-datepicker, jose, file-type, sanitize-filename, image-dimensions, sax, @standard-schema/spec, pino, pino-pretty, escape-html, csv-parse, csv-stringify, lexical, react-error-boundary, @lexical/markdown, mdast-util-from-markdown, mdast-util-mdx-jsx, micromark-extension-mdx-jsx, sharp, faceless-ui, sonner, dnd-kit, react-select, monaco-editor, @floating-ui/dom, react-image-crop

## Side by side

| | discord.js | payload |
|---|---|---|
| Size | 141,821 lines written, 943 code files | 1,083,381 lines written, 4,527 code files |
| Who writes it | 0.1% of its commits signed by AI. With GitHub Copilot and Claude Code | 0.6% of its commits signed by AI. With GitHub Copilot, Claude Code, and Cursor |
| Activity | Last push November 6, 2026, 8,556 commits, 26,826 stars | Last push November 13, 2026, 14,834 commits, 45,802 stars |
| Tests | 103 test files. 7.2% of its code files have a test that imports them | 2,502 test files. 14.1% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, discord.js or payload?

payload, with 1,083,381 lines written; discord.js has 141,821.

The proof: [payloadcms/payload's code at commit ae5e1dc](https://github.com/payloadcms/payload/tree/ae5e1dc62b4e469902dd2aaa79eca6fe117bd416)

### Which has more GitHub stars, discord.js or payload?

payload, with 45,802 stars; discord.js has 26,826.

The proof: [payloadcms/payload on GitHub](https://github.com/payloadcms/payload)

### Which has more tests, discord.js or payload?

payload, with 2,502 test files; discord.js has 103.

The proof: [payloadcms/payload's code at commit ae5e1dc](https://github.com/payloadcms/payload/tree/ae5e1dc62b4e469902dd2aaa79eca6fe117bd416)

### Which was updated more recently, discord.js or payload?

payload: its last push was on November 13, 2026, and discord.js's on November 6, 2026.

The proof: [payloadcms/payload's commits on GitHub](https://github.com/payloadcms/payload/commits)

### Which has more commits signed by AI, discord.js or payload?

payload: an AI signed 0.6% of its commits, with GitHub Copilot, Claude Code, and Cursor; in discord.js, 0.1%.

The proof: [the commits each tool signed in payloadcms/payload](https://seerepo.com/r/payloadcms/payload/ai)

## Sources

- discordjs/discord.js: Read on November 8, 2026, at commit 5bb7492 (https://github.com/discordjs/discord.js/tree/5bb74922a1fb36e0d20e2656fa1bfb8944758882)
- payloadcms/payload: Read on November 13, 2026, at commit ae5e1dc (https://github.com/payloadcms/payload/tree/ae5e1dc62b4e469902dd2aaa79eca6fe117bd416)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
