{"_id":"@brrock/bun-vercel","_rev":"3-513610ac42d5dbf85678f7aff07051a3","name":"@brrock/bun-vercel","dist-tags":{"latest":"1.0.0-alpha.7"},"versions":{"1.0.0-alpha.5":{"name":"@brrock/bun-vercel","version":"1.0.0-alpha.5","_id":"@brrock/bun-vercel@1.0.0-alpha.5","maintainers":[{"name":"brrock","email":"brduck@duck.com"}],"bin":{"bun-vercel":"build.sh"},"dist":{"shasum":"fc46a651f484977e96efc062d0552bac984e1034","tarball":"https://registry.npmjs.org/@brrock/bun-vercel/-/bun-vercel-1.0.0-alpha.5.tgz","fileCount":10,"integrity":"sha512-iwC3AU5BG5CvYWsxJ+e7uCEyS0oLSrFZNdwsLIo40DQMVS82rGuyfUE2HteBYBDX08hOWvMeExH6DwfGKmoekA==","signatures":[{"sig":"MEUCIBX3AmH8Md1oReHxkuCX9Crkftj2xItP8ymfwUFtvZMHAiEAz+0BuNl3LvN4sFueCW67Yqf29nYRKDMxP8Uk7wEEpJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16363},"type":"module","gitHead":"3aa775bec542c2bdeff8f78c6e0442fe23bbc1df","scripts":{"dev":"bun run src/main.ts"},"_npmUser":{"name":"brrock","email":"brduck@duck.com"},"_npmVersion":"10.9.2","description":"Run [Bun](https://bun.sh) on Vercel Serverless Functions","directories":{},"_nodeVersion":"23.9.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","bun-types":"^1.2.5","typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-vercel_1.0.0-alpha.5_1741720715868_0.7918068576413895","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.6":{"name":"@brrock/bun-vercel","version":"1.0.0-alpha.6","_id":"@brrock/bun-vercel@1.0.0-alpha.6","maintainers":[{"name":"brrock","email":"brduck@duck.com"}],"bin":{"bun-vercel":"build.sh"},"dist":{"shasum":"d017f4b08ca1569fd3b5e2c22b0d9efd58806b8b","tarball":"https://registry.npmjs.org/@brrock/bun-vercel/-/bun-vercel-1.0.0-alpha.6.tgz","fileCount":10,"integrity":"sha512-eG0N7EcnBXgOcFXGc7ZfIY6/OGn5TT6UDOSdlinh/YfMXhBwfp5rLkgl1x/G15XCpGeau0yXAcAd40MV4qNTAg==","signatures":[{"sig":"MEUCIQCj0wyVL42+pZ5HUngz3gJZhJ4EREwvAiSm6wwJ+4i1SAIgVQFaw/1ArVwwFE0isrtrmlCO2sOuE4WrqD01V/2H3qA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16371},"type":"module","gitHead":"3aa775bec542c2bdeff8f78c6e0442fe23bbc1df","scripts":{"dev":"bun run src/main.ts"},"_npmUser":{"name":"brrock","email":"brduck@duck.com"},"_npmVersion":"10.9.2","description":"Run [Bun](https://bun.sh) on Vercel Serverless Functions","directories":{},"_nodeVersion":"23.9.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","bun-types":"^1.2.5","typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-vercel_1.0.0-alpha.6_1741721295010_0.891843992678442","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.7":{"name":"@brrock/bun-vercel","version":"1.0.0-alpha.7","type":"module","bin":{"bun-vercel":"build.sh"},"devDependencies":{"bun-types":"^1.2.5","prettier":"^3.5.3","typescript":"^5.8.2"},"scripts":{"dev":"bun run src/main.ts"},"_id":"@brrock/bun-vercel@1.0.0-alpha.7","gitHead":"3aa775bec542c2bdeff8f78c6e0442fe23bbc1df","description":"Run [Bun](https://bun.sh) on Vercel Serverless Functions","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-q6Ad5t4VG41LbMvN/6NGyYObadLJ3JCCl0U5wgfTDRtdAUum2QPX9F3SvEIXNOAFKnmBHHdWdw3u8cZwxbV58g==","shasum":"f6f5d7b33157fed1aabf9b6a1a8da693f10e6221","tarball":"https://registry.npmjs.org/@brrock/bun-vercel/-/bun-vercel-1.0.0-alpha.7.tgz","fileCount":10,"unpackedSize":16379,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCUPfhLc3+PY5YWJ11tNUl6W54n+FlV8y1Gpef18fZVmwIhANFts/EnwmcpnlZsKQson7uQ4aINNWC1+anVQKzXuEf8"}]},"_npmUser":{"name":"brrock","email":"brduck@duck.com"},"directories":{},"maintainers":[{"name":"brrock","email":"brduck@duck.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bun-vercel_1.0.0-alpha.7_1741722712775_0.8853665049636144"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-11T19:18:35.724Z","modified":"2025-03-11T19:51:53.156Z","1.0.0-alpha.5":"2025-03-11T19:18:36.060Z","1.0.0-alpha.6":"2025-03-11T19:28:15.171Z","1.0.0-alpha.7":"2025-03-11T19:51:52.981Z"},"description":"Run [Bun](https://bun.sh) on Vercel Serverless Functions","maintainers":[{"name":"brrock","email":"brduck@duck.com"}],"readme":"# bun-vercel\n\nRun [Bun](https://bun.sh) on Vercel Serverless Functions\n\n[https://bun-vercel.vercel.app/](https://bun-vercel.vercel.app/)\n\n> This is an experimental project and should not be used in production. This project is not endorsed by Vercel.\n\n```typescript\n// src/main.ts\nimport { type Server } from \"bun\"\n\nexport default {\n  async fetch(request: Request, server: Server) {\n    return new Response(\"Hello from Bun on Vercel\", {\n      status: 200,\n      headers: { \"Content-Type\": \"text/plain\" }\n    })\n  }\n}\n```\n\n## Get Started\n\nThere are two ways to deploy your project to Vercel:\n\n1. GitHub integration\n2. Manually from your computer\n\n### GitHub Integration\n\n> Note: An issue in Bun must be resolved before this method is fully operational\n\n#### 1. Update your package.json with `bun-vercel`\n\n```json\n{\n  \"devDependencies\": {\n    \"bun-vercel\": \"^1.0.0-alpha.4\",\n  }\n}\n```\n\n#### 2. Update the `build` script run bun-vercel\n\n```json\n{\n  \"scripts\": {\n    \"build\": \"bun-vercel ./src/main.ts\"\n  }\n}\n```\n\n#### 3. Add a `vercel.json` with your build command\n\n```json\n{\n  \"buildCommand\": \"bun run build\"\n}\n```\n\n### Manually\n\nBefore starting you should follow the same setup steps as the GitHub integration, as they will be needed regardless.\n\n> Note: To deploy from your computer you must have Docker installed so we can build for Amazon Linux\n\n1. Install the Vercel CLI and run `vercel link`\n2. Run `bun run build`\n3. Run `vercel deploy --prebuilt --prod`\n","readmeFilename":"README.md"}