UNPKG

seeded-random

Version:
18 lines (14 loc) 308 B
#!/usr/bin/env node var Random = require('./js/Random'); var Command = require('./js/Command'); var random = new Random(); /* * If called from command line then switch * commands. Else export 'random' object. */ if (require.main === module) { new Command(); } else { module.exports = random; }