Skip to content
On this page

buildSomeUUID ​

在 JavaScript 中生成随机的 UUID

引入方式 ​

ESM ​

javascript
import { buildSomeUUID } from "tool-assistant;

示例 ​

javascript
// 引入 buildSomeUUID 函数
import { buildSomeUUID } from "tool-assistant";

// 生成随机的 UUIDs
const uuids = buildSomeUUID(5);

// 打印生成的 UUID
console.log(uuids);

Released under the MIT License.