Skip to content

bevacqua/pandora-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🐼 What will it be?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published