README
Random Faker
Fakes crypto.randomBytes in NodeJS.
Usage
var faker = require('node_random_faker');
faker.fake(42);
console.log(crypto.randomBytes(4));
faker.restore();
Result will be <Buffer 2a 2a 2a 2a>
fakes crypto.randomBytes
<script type="module">
import nodeRandomFaker from 'https://cdn.skypack.dev/node_random_faker';
</script>
Fakes crypto.randomBytes in NodeJS.
var faker = require('node_random_faker');
faker.fake(42);
console.log(crypto.randomBytes(4));
faker.restore();
Result will be <Buffer 2a 2a 2a 2a>