@reactioncommerce/random

1.0.2 • Public • Published

Random

A drop-in replacement for the Meteor random package. Unlike the Meteor package, you can use this either with or without Meteor.

Installation

npm i --save @reactioncommerce/random

Usage

import Random from "@reactioncommerce/random";

const id = Random.id();

API

See Meteor package documentation

Other similar packages

The meteor-random NPM package ported Meteor's random package a few years back. This has the latest updates, modernized code, and tests.

Readme

Keywords

none

Package Sidebar

Install

npm i @reactioncommerce/random

Weekly Downloads

709

Version

1.0.2

License

MIT

Unpacked Size

19.5 kB

Total Files

10

Last publish

Collaborators

  • focusaurus
  • reactionadmin
  • spencern
  • rc-publisher
  • aldeed
  • ticean