New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

greenlock-proxy

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greenlock-proxy - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

@@ -14,3 +14,3 @@ var pkg = require('./package.json');

this.maintainerEmail = opts.maintainerEmail;
staging = opts.staging | false;
var staging = opts.staging || false;
var pkg = require('./package.json');

@@ -17,0 +17,0 @@ var Greenlock = require('greenlock');

{
"name": "greenlock-proxy",
"version": "0.1.0",
"version": "0.1.1",
"description": "HTTPS proxy wrapper for greenlock",

@@ -5,0 +5,0 @@ "main": "index.js",

# Greenlock Proxy Wrapper
## How to Install
```bash
npm i greenlock-proxy
```
## Example
```js
const GreenlockProxy = require('greenlock-proxy');
var proxy = new GreenlockProxy({
maintainerEmail: "example@email.com",
staging: true // true for testing, false for production
});
proxy.register(["dev.example.com", "www.dev.example.com"], "http://localhost:4200");
proxy.register(["example.com", "www.example.com"], "http://localhost:80");
proxy.start();
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc