index.js
function textStream() {
  var start = randomInt(0, config.size - bufferSize)
  return fs.createReadStream(dictPath, {
    encoding: config.encoding,
    start: start,
    end: start + bufferSize
  })
}
function textStream() {
  var start = randomInt(0, config.size - bufferSize)
  return fs.createReadStream(dictPath, {
    encoding: config.encoding,
    start: start,
    end: start + bufferSize
  })
}
function textStream ( ) { var start = randomInt ( 0 , config . size - bufferSize ) return fs . createReadStream ( dictPath , { encoding : config . encoding , start : start , end : start + bufferSize } ) }
read dictionary with stream
read dictionary with stream