rs

random-stream

Random ASCII source stream for experimentation and testing. Trivial, silly and sometimes useful.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

1

Maintenance

Last Commit

8yrs ago

Contributors

0

Package

Dependencies

0

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

random-stream

Generate a random stream of acscii characters. Characters are written at random intervals, dt. The time interval dt is chosen between min and max times supplied by the user. Useful for testing, examples and spamming.

Example

var RandomStream = require('../.')

var r = RandomStream({
  min: 250   // in milliseconds
, max: 1000  // in milliseconds
})

r.pipe(process.stdout)

where options.min and options.max are the user supplied random time interval for the random character writes. The times given in the example are the defaults used if no options object is passed in.

Install

npm install random-stream

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial