You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@reactioncommerce/random

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactioncommerce/random

A drop-in replacement for the 'random' Meteor package

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
1.6K
145.09%
Maintainers
5
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 09 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts