@tozd/random-id

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @tozd/random-id

Weekly Downloads

78

Version

1.0.0

License

BSD-3-Clause

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • mitar