dociql process.env.node_tls_reject_unauthorized = 0

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; 
or 
export NODE_TLS_REJECT_UNAUTHORIZED = "0";
Unsightly Unicorn