UNPKG

simple-random

Version:

A simple flexible javascript library that creates random alpha-numeric strings. Works in both NodeJS and the browser.

5 lines (4 loc) 227 B
var secureContainer = require('./lib/browser_secure'); var randomFactory = require("./lib/simple_random"); module.exports = randomFactory.create(secureContainer); module.exports.isSecureSupported = secureContainer.isSupported;