Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.
Get the user agent of a recent Chrome version to pretend to be a browser in network requests
CJS version: Make a function mimic another one
Pretend the current process is running on a given platform