mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 01:45:15 +00:00
8 lines
266 B
JavaScript
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')
|
|
}
|