This module helps you to generate sequential strings, it uses the new generator function in ES6.
This module is only compatible with Node.js >= 5.x.x.
$ npm install seqstringvarSeqstring=require('seqstring');Construct a generator, all the parameters are optional.
newSeqstring([Minimumlength],[Maximumlength],[Arrayofcharacters]);Example using a for-loop:
vargenerator=newSeqstring(1,5,['a','b']);for(varstringofgenerator){console.log(string)// e.g. aa}Example using .next()
vargenerator=newSeqstring();console.log(generator.next());