Answers for "uuid.v4() npm"

10

uuid - npm

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

uuidv4 npm

const { uuid } = require('uuidv4');
console.log(uuid());
// => '11bf5b37-e0b8-42e0-8dcf-dc8c4aefc000'
Posted by: Guest on December-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language