insecure
v0.0.4
Published
Accept insecure HTTPS certificates from web servers.
Downloads
18
Maintainers
Readme
node-insecure
Accept insecure HTTPS certificates from a web server.
Installation
$ npm install insecure
Quick start
First you need to integrate insecure into your application.
const insecure = require('insecure');
To set the environment variable NODE_TLS_REJECT_UNAUTHORIZED
to 0
, call:
insecure();
console.log(process.env.NODE_TLS_REJECT_UNAUTHORIZED); // => '0'