use-bun-instead-of-node-vite-npm-pnpm Cursor ruleB

use-bun-instead-of-node-vite-npm-pnpm from getdevintern/devintern is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add getdevintern/devintern/packages/pm/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc@git:20260709.434e49a

Pins git:20260709.434e49a in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
Cursor rule
Repository
getdevintern/devintern
Path
packages/pm/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc
Versions recorded
1
Latest version
git:20260709.434e49a, committed Jul 9, 2026
Size
2,444 bytes
Repository stars
3
License
a license file GitHub does not identify

Use Bun instead of Node.js, npm, pnpm, or vite.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

Default to using Bun instead of Node.js.

- Use `bun <file>` instead of `node <file>` or `ts-node <file>`
- Use `bun test` instead of `jest` or `vitest`
- Use `bun build <file.html|file.ts|file.css>` instead of `webpack` or `esbuild`
- Use `bun install` instead of `npm install` or `yarn install` or `pnpm install`
- Use `bun run <script>` instead of `npm run <script>` or `yarn run <script>` or `pnpm run <script>`
- Bun automatically loads .env, so don't use dotenv.

## APIs

- `Bun.serve()` supports WebSockets, HTTPS, and routes. Don't use `express`.
- `bun:sqlite` for SQLite. Don't use `better-sqlite3`.
- `Bun.redis` for Redis. Don't use `ioredis`.
- `Bun.sql` for Postgres. Don't use `pg` or `postgres.js`.
- `WebSocket` is built-in. Don't use `ws`.
- Prefer `Bun.file` over `node:fs`'s readFile/writeFile
- Bun.$`ls` instead of execa.

## Frontend

Use HTML imports with `Bun.serve()`. Don't use `vite`. HTML imports fully support React, CSS, Tailwind.

Server:

```ts#index.ts
import index from "./index.html"

Bun.serve({
  routes: {
    "/": index,
    "/api/users/:id": {
      GET: (req) => {
        return new Response(JSON.stringify({ id: req.params.id }));
      },
    },
  },
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add getdevintern/devintern/packages/pm/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc@sha256:86c6d9c0f94cc9d4

The line at the top of this page pins the label git:20260709.434e49a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_a7laiszv6vjxvsds.svg)](https://markdownregistry.com/a/art_a7laiszv6vjxvsds)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 9, 2026.

versioncommittedcommitsizeaudit
git:20260709.434e49a latest2026-07-09 434e49a 2,444 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Size between 200 bytes and 200 KB (2444 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use the Cursor rule starter on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

getdevintern/devintern · 3 stars · license a license file GitHub does not identify · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_a7laiszv6vjxvsds
GET https://markdownregistry.com/api/v1/resolve?ref=getdevintern/devintern/packages/pm/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc
GET https://markdownregistry.com/api/v1/blob/86c6d9c0f94cc9d4a76ea647011da86e8bcf766f35725bd005ff584c24e07279

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from getdevintern/devintern

AGENTS.md AGENTS.md file
getdevintern/devintern · AGENTS.md
git:20261019.e70472f · audit A · 3 stars
CLAUDE.md CLAUDE.md file
getdevintern/devintern · CLAUDE.md
git:20261019.e70472f · audit A · 3 stars
CLAUDE.md@packages/code CLAUDE.md file
getdevintern/devintern · packages/code/CLAUDE.md
git:20261021.6680c12 · audit B · 3 stars
CLAUDE.md@packages/pm CLAUDE.md file
getdevintern/devintern · packages/pm/CLAUDE.md
git:20260810.5197d56 · audit B · 3 stars
devintern-delegate SKILL.md skill
getdevintern/devintern · skills/devintern-delegate/SKILL.md · Delegate agreed implementation work to a DevIntern worker as ad-hoc tasks for registered repositories. Use when asked…
git:20261016.97ec52c · audit A · 3 stars
devintern-report SKILL.md skill
getdevintern/devintern · skills/devintern-report/SKILL.md · Diagnose a DevIntern CLI or worker failure and file a redacted bug report with `devintern report`. Use when DevIntern…
git:20261021.97fe7f9 · audit A · 3 stars
devintern-setup SKILL.md skill
getdevintern/devintern · skills/devintern-setup/SKILL.md · Install DevIntern Code, set up a worker, or connect source control and task tracker accounts. Use for first-time setup…
git:20261016.8e03214 · audit B · 3 stars
devintern-workspace SKILL.md skill
getdevintern/devintern · skills/devintern-workspace/SKILL.md · Inspect or configure an existing DevIntern worker workspace, including repositories, teams, routing, recurring…
git:20261016.8e03214 · audit A · 3 stars

Every file in getdevintern/devintern

Other files named use-bun-instead-of-node-vite-npm-pnpm

use-bun-instead-of-node-vite-npm-pnpm Cursor rule
letta-ai/letta-code · .cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc
git:20260526.5aa009d · audit B · 3,759 stars

Browse by kind, by grade B, or by owner.