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.
mdr add getdevintern/devintern/packages/pm/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc@git:20260709.434e49aPins 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
mdr add getdevintern/devintern/packages/pm/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc@sha256:86c6d9c0f94cc9d4The 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.
[](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.
Audit of the latest version
- 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
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
Every file in getdevintern/devintern