Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to generate uuid in typescript

first npm install --save-dev @types/uuid
sec :import { v4 as uuid } from 'uuid';
third :const id: string = uuid();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generate #uuid #typescript
ADD COMMENT
Topic
Name
3+6 =