innovationDriveApp/node_modules/randomfill/index.js
2018-07-08 19:21:40 +10:00

7 lines
266 B
JavaScript

var crypto = require('crypto')
if (typeof crypto.randomFill === 'function' && typeof crypto.randomFillSync === 'function') {
exports.randomFill = crypto.randomFill
exports.randomFillSync = crypto.randomFillSync
} else {
module.exports = require('./browser')
}