untitled notebook

node v8.11.1
version: master
endpointsharetweet
const gr = require('@runkit/gagoomp/random-string-generator/4.3.1'); const {randomString, nRandoms, setCharacters} = gr;
const getNewPasswords = howMany => nRandoms(howMany, 15); console.log(getNewPasswords(10).join('\n'));
gr.twoRandoms.toString();
const R = require('ramda'); const cRandoms = R.curry(nRandoms); //=> cRandoms(2)(length) == cRandoms(2, length) const tooRandoms = cRandoms(2); tooRandoms(4)
setCharacters('♠♥♦♣'); tooRandoms(100);
Loading…

no comments

    sign in to comment