downloadAPI (npm): downloadAPI to download file from URL to local by http/https request in nodejs, and resolve a promise when it is done.
Keywords: download|request|promise|pipe|streaming|http|https