rst
v0.0.4
Published
A readable stream that produces a random alphanumeric string of a given size.
Downloads
16
Readme
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 creates a file from the output, sort of like dd
.
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