Answers for "uuid v4 npm typescript"

10

uuid - npm

npm i uuid
import { v4 as uuidv4 } from 'uuid';
uuidv4();
Posted by: Guest on July-04-2021
2

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();
Posted by: Guest on November-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language