Skip to main content

Function: v1()

Call Signature

v1(options?, buf?, offset?): string

Generate a v1 (timestamp) UUID.

Parameters

options?

Version1Options

buf?

undefined

offset?

number

Returns

string

Call Signature

v1<TBuf>(options, buf, offset?): TBuf

Generate a v1 (timestamp) UUID.

Type Parameters

TBuf

TBuf extends Uint8Array<ArrayBufferLike> = Uint8Array<ArrayBufferLike>

Parameters

options

Version1Options | undefined

buf

TBuf

offset?

number

Returns

TBuf