1.0.0 • Published 8 years ago

pandora-box v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

pandora-box

What will it be?

install

npm install pandora-box

pandora.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