Files
tryno10/app/code/node_modules/randomfill/index.js
T
2022-04-07 18:09:31 +05:30

8 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')
}