This module seems encapsulate enough to just export the locate function directly. Are you expecting any additional API?