Miscalaneous Generators

A bag of other goodies


Generates a random date.


Generates a random CSS color string.


Generates a random [lat, long] pair that is a valid location on the surface of the earth.


Generates a value of any type. Currently this will be what qc.bool, qc.int, qc.real, qc.string, qc.array and qc.object can produce plus a function and the value undefined. However do not rely on this fact, as more will can be added to this generator without further notice. This generator is meant for situations where your code doesn't really care about a value.


Generates a value of a 'simple' type: that is a type that doesn't contain other values (i.e. booleans, numbers, strings, undefined, null). Useful for things like generating a base case for a recursive function.