rst

A readable stream that produces a random alphanumeric string of a given size.

npm install rst
18 downloads in the last month

rst

rst is a readable stream that produces a random alphanumeric string of a given size (in kilobytes). It includes a command-line utility that will create a file from the output, sort of like dd.

Build status

Install

$ npm install rst
# or
$ npm install -g rst

Example

var rst = require('rst')

rst(350).pipe(process.stdout)
=> wa9rjdfASDJFa09sdjfAW3F…

CLI Example

$ rst 350
$ ls
some-file.txt
350kb
song.mp3

License

MIT

npm loves you