Class: Cooker

Cooker

takes a thing object and a bunch of random numbers and spits out a Recipe


new Cooker(opts)

Cooker constructor

Parameters:
Name Type Description
opts object

options for the new cooker

Properties
Name Type Description
numPathsDistribution string

when selecting the number of paths from thing to mangle, this is the distribution. Options are "low", "uniform" or "split". Low is more likely to pick a low number of paths (e.g. - 1 or 2), uniform is likely to pick any number of paths, and split is likely to pick a low number or the max number.

Source:

Methods


init(thing)

initializes the Cooker with a thing object and does any configuration necessary

Parameters:
Name Type Description
thing any

the object, string, array, null, or whatever that will be mangled by the fuzzer

Source: