pandora-box
v1.0.0
Published
What will it be?
Downloads
23
Readme
pandora-box
What will it be?
install
npm install pandora-boxpandora.find(host)
Finds and returns all methods on an object by traversing its property tree recursively and non-circularly.
pandora.findAll(host)
Finds and returns all methods on an object by traversing its property tree recursively and non-circularly. Then executes each of those methods without any arguments, and returns all methods on objects returned by each individual call, plus the original methods.
pandora(box)
Returns an (...args) => fn(...args) function that executes a random method in box, where box is an array of functions that defaults to .findAll(global).
why?
because.
license
mit
