Using npm/maven Proxy for connecting to other repo

Hi Team, Can you help me where I can find the process for Proxying npm/maven packages connection to other repo.