pkgutil-resolve-name

Resolve a name to an object.

Here are some articles that you may find helpful