Guid.ts 131 B

123456789
  1. import * as crypto from 'crypto';
  2. class Guid {
  3. public static new(): string {
  4. return crypto.randomUUID();
  5. }
  6. }
  7. export { Guid };