import * as origRequestFn from "request" ; let requestFn = origRequestFn ; param fn category export function setRequestFn ( fn ) { requestFn = fn ; } returns category export function getRequestFn ( ) { return requestFn ; }