1.0.0 • Published 5 years ago

@tozd/random-id v1.0.0

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
5 years ago

@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);
});