express-template/utils/id.ts

6 lines
116 B
TypeScript

import { v4 as uuid } from 'uuid'
import md5 from 'md5'
export function md5_uuid ():string {
return md5(uuid())
}