random-character-generator
Generates random ASCII characters from a seed
Last updated 5 years ago by jamesbarwell .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install random-character-generator 
SYNC missed versions from official npm registry.

Generates random ASCII characters from a seed

Can be used either deterministically or pseudo-randomly depending on how it is seeded.

Install using npm:

npm install random-character-generator

Example of use:

var randomCharGen = require('random-character-generator')
var Readable = require('stream').Readable;

var seed = process.argv[2] || 123
var generator = randomCharGen(seed)

var rs = Readable();
rs._read = function() {
    rs.push(generator.next().value);
}
rs.pipe(process.stdout)

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |