使用Documentation Index
Fetch the complete documentation index at: https://bun.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
crypto.randomUUID() 来生成一个 UUID v4。该 API 可在 Bun、Node.js 和浏览器中使用,无需任何依赖。
在 Bun 中,你也可以使用
Bun.randomUUIDv7() 来生成一个 UUID v7。
更多有用的工具请见 文档 > API > 实用工具。