UNPKG
uuid-core
Version:
latest (1.0.0)
1.0.0
A simple UUID generator library for Node.js, NestJS, and Next.js
uuid-core
/
dist
/
index.d.ts
9 lines
(8 loc)
•
264 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
type { UUID, Namespace } from
"./types"
;
export
declare
class
UUIDGeneratorFuz
{
static
v1
()
: UUID;
static
v4
()
: UUID;
static
v5
(name: string,
namespace
: Namespace)
: UUID;
static
isValid
(uuid: string)
: boolean;
}
export
{ UUID, Namespace };