仪表盘
版本库
文件存储
活动
搜索
登录
main
/
label-studio
数据标注工具
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
init
Bin
2025-12-16
9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
[label-studio.git]
/
web
/
libs
/
editor
/
src
/
utils
/
unique.ts
1
2
3
4
5
6
7
8
// @todo for nanoid@3 there should be default import
import { nanoid } from "nanoid";
/**
* Unique hash generator
* @param {number} lgth
*/
export const guidGenerator = (length = 10) => nanoid(length);