Skip to content

tozd/node-random-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tozd/random-id

This node.js package provides random ID generation compatible with Meteor.

Installation

This is a node.js package. You can install it using NPM:

$ npm install @tozd/random-id

Usage

const {randomId} = require('@tozd/random-id');

(async () => {
  const id = await randomId();

  console.log(id);
})().catch((error) => {
  console.error("async error", error);
});