Skip to content

A node js library that helps you generate random id for your web apps

Notifications You must be signed in to change notification settings

Williams247/Unique-node-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

unique-node-id

A node module for unique ids

npm i unique-node-id
const uniqueNodeId = require('unique-node-id');

const data = [
   {   
       id: uniqueNodeId(),
       name: 'Lionel Messi',
       email: 'messi@gmail.com'
   },
   {   
       id: uniqueNodeId(),
       name: 'Sergio Arguero',
       email: 'sergio@gmail.com'
   },
   {   
       id: uniqueNodeId(),
       name: 'Memphis Depay',
       email: 'memphis@gmail.com'
   }
];

console.log(data);

Vist => https://www.npmjs.com/package/unique-node-id to learn more

About

A node js library that helps you generate random id for your web apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published