greenlock-express
Advanced tools
Comparing version
100
package.json
{ | ||
"name": "greenlock-express", | ||
"version": "3.0.11", | ||
"description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.", | ||
"main": "greenlock-express.js", | ||
"homepage": "https://greenlock.domains", | ||
"files": [ | ||
"*.js", | ||
"lib", | ||
"scripts" | ||
], | ||
"scripts": { | ||
"start": "node_todo server.js ./config.js", | ||
"test": "node_todo test/greenlock.js" | ||
}, | ||
"directories": { | ||
"example": "examples" | ||
}, | ||
"dependencies": { | ||
"@root/greenlock": "^3.0.17", | ||
"@root/greenlock-express": "^3.0.11", | ||
"redirect-https": "^1.1.5" | ||
}, | ||
"trulyOptionalDependencies": { | ||
"http-proxy": "^1.17.0", | ||
"express": "^4.16.3", | ||
"express-basic-auth": "^1.2.0", | ||
"finalhandler": "^1.1.1", | ||
"serve-index": "^1.9.1", | ||
"serve-static": "^1.13.2", | ||
"ws": "^5.2.1" | ||
}, | ||
"devDependencies": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://git.rootprojects.org/root/greenlock-express.js.git" | ||
}, | ||
"keywords": [ | ||
"Let's Encrypt", | ||
"ACME", | ||
"greenlock", | ||
"Free SSL", | ||
"Automated HTTPS", | ||
"https", | ||
"tls" | ||
], | ||
"author": "AJ ONeal <coolaj86@gmail.com> (https://solderjs.com/)", | ||
"license": "MPL-2.0", | ||
"bugs": { | ||
"url": "https://git.rootprojects.org/root/greenlock-express.js/issues" | ||
} | ||
"name": "greenlock-express", | ||
"version": "3.0.13", | ||
"description": "Free SSL and managed or automatic HTTPS for node.js with Express, Koa, Connect, Hapi, and all other middleware systems.", | ||
"main": "greenlock-express.js", | ||
"homepage": "https://greenlock.domains", | ||
"files": [ | ||
"*.js", | ||
"lib", | ||
"scripts" | ||
], | ||
"scripts": { | ||
"start": "node_todo server.js ./config.js", | ||
"test": "node_todo test/greenlock.js" | ||
}, | ||
"directories": { | ||
"example": "examples" | ||
}, | ||
"dependencies": { | ||
"@root/greenlock": "^3.0.25", | ||
"@root/greenlock-express": "^3.0.13", | ||
"redirect-https": "^1.1.5" | ||
}, | ||
"trulyOptionalDependencies": { | ||
"http-proxy": "^1.17.0", | ||
"express": "^4.16.3", | ||
"express-basic-auth": "^1.2.0", | ||
"finalhandler": "^1.1.1", | ||
"serve-index": "^1.9.1", | ||
"serve-static": "^1.13.2", | ||
"ws": "^5.2.1" | ||
}, | ||
"devDependencies": {}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://git.rootprojects.org/root/greenlock-express.js.git" | ||
}, | ||
"keywords": [ | ||
"Let's Encrypt", | ||
"ACME", | ||
"greenlock", | ||
"Free SSL", | ||
"Automated HTTPS", | ||
"https", | ||
"tls" | ||
], | ||
"author": "AJ ONeal <coolaj86@gmail.com> (https://solderjs.com/)", | ||
"license": "MPL-2.0", | ||
"bugs": { | ||
"url": "https://git.rootprojects.org/root/greenlock-express.js/issues" | ||
} | ||
} |
182
README.md
@@ -25,8 +25,8 @@ # New Documentation & [v2/v3 Migration Guide](https://git.rootprojects.org/root/greenlock.js/src/branch/v3/MIGRATION_GUIDE_V2_V3.md) | ||
function httpsWorker(glx) { | ||
// Serves on 80 and 443 | ||
// Get's SSL certificates magically! | ||
// Serves on 80 and 443 | ||
// Get's SSL certificates magically! | ||
glx.serveApp(function(req, res) { | ||
res.end("Hello, Encrypted World!"); | ||
}); | ||
glx.serveApp(function(req, res) { | ||
res.end("Hello, Encrypted World!"); | ||
}); | ||
} | ||
@@ -36,12 +36,12 @@ | ||
require("greenlock-express") | ||
.init(function getConfig() { | ||
// Greenlock Config | ||
.init(function getConfig() { | ||
// Greenlock Config | ||
return { | ||
package: { name: pkg.name, version: pkg.version }, | ||
maintainerEmail: pkg.author, | ||
cluster: false | ||
}; | ||
}) | ||
.serve(httpsWorker); | ||
return { | ||
package: { name: pkg.name, version: pkg.version }, | ||
maintainerEmail: pkg.author, | ||
cluster: false | ||
}; | ||
}) | ||
.serve(httpsWorker); | ||
``` | ||
@@ -55,10 +55,10 @@ | ||
{ | ||
"subscriberEmail": "letsencrypt-test@therootcompany.com", | ||
"agreeToTerms": true, | ||
"sites": { | ||
"example.com": { | ||
"subject": "example.com", | ||
"altnames": ["example.com", "www.example.com"] | ||
} | ||
} | ||
"subscriberEmail": "letsencrypt-test@therootcompany.com", | ||
"agreeToTerms": true, | ||
"sites": { | ||
"example.com": { | ||
"subject": "example.com", | ||
"altnames": ["example.com", "www.example.com"] | ||
} | ||
} | ||
} | ||
@@ -69,27 +69,27 @@ ``` | ||
- IoT | ||
- Enterprise On-Prem | ||
- Local Development | ||
- Home Servers | ||
- Quitting Heroku | ||
- IoT | ||
- Enterprise On-Prem | ||
- Local Development | ||
- Home Servers | ||
- Quitting Heroku | ||
# Features | ||
- [x] Let's Encrypt v2 (November 2019) | ||
- [x] ACME Protocol (RFC 8555) | ||
- [x] HTTP Validation (HTTP-01) | ||
- [x] DNS Validation (DNS-01) | ||
- [ ] ALPN Validation (TLS-ALPN-01) | ||
- Need ALPN validation? [contact us](mailto:greenlock-support@therootcompany.com) | ||
- [x] Automated HTTPS | ||
- [x] Fully Automatic Renewals every 45 days | ||
- [x] Free SSL | ||
- [x] **Wildcard** SSL | ||
- [x] **Localhost** certificates | ||
- [x] HTTPS-enabled Secure **WebSockets** (`wss://`) | ||
- [x] Fully customizable | ||
- [x] **Reasonable defaults** | ||
- [x] Domain Management | ||
- [x] Key and Certificate Management | ||
- [x] ACME Challenge Plugins | ||
- [x] Let's Encrypt v2 (November 2019) | ||
- [x] ACME Protocol (RFC 8555) | ||
- [x] HTTP Validation (HTTP-01) | ||
- [x] DNS Validation (DNS-01) | ||
- [ ] ALPN Validation (TLS-ALPN-01) | ||
- Need ALPN validation? [contact us](mailto:greenlock-support@therootcompany.com) | ||
- [x] Automated HTTPS | ||
- [x] Fully Automatic Renewals every 45 days | ||
- [x] Free SSL | ||
- [x] **Wildcard** SSL | ||
- [x] **Localhost** certificates | ||
- [x] HTTPS-enabled Secure **WebSockets** (`wss://`) | ||
- [x] Fully customizable | ||
- [x] **Reasonable defaults** | ||
- [x] Domain Management | ||
- [x] Key and Certificate Management | ||
- [x] ACME Challenge Plugins | ||
@@ -134,3 +134,3 @@ # QuickStart Guide | ||
function myPlainNodeHttpApp(req, res) { | ||
res.end("Hello, Encrypted World!"); | ||
res.end("Hello, Encrypted World!"); | ||
} | ||
@@ -160,5 +160,5 @@ | ||
- Simplicity and ease-of-use | ||
- Performance and scalability | ||
- Configurability and control | ||
- Simplicity and ease-of-use | ||
- Performance and scalability | ||
- Configurability and control | ||
@@ -173,17 +173,17 @@ You can start with **near-zero configuration** and | ||
require("greenlock-express") | ||
.init(getConfig) | ||
.serve(worker); | ||
.init(getConfig) | ||
.serve(worker); | ||
function getConfig() { | ||
return { | ||
// uses name and version as part of the ACME client user-agent | ||
// uses author as the contact for support notices | ||
package: require("./package.json") | ||
}; | ||
return { | ||
// uses name and version as part of the ACME client user-agent | ||
// uses author as the contact for support notices | ||
package: require("./package.json") | ||
}; | ||
} | ||
function worker(server) { | ||
// Works with any Node app (Express, etc) | ||
var app = require("my-express-app.js"); | ||
server.serveApp(app); | ||
// Works with any Node app (Express, etc) | ||
var app = require("my-express-app.js"); | ||
server.serveApp(app); | ||
} | ||
@@ -232,10 +232,10 @@ ``` | ||
{ | ||
"subscriberEmail": "letsencrypt-test@therootcompany.com", | ||
"agreeToTerms": true, | ||
"sites": { | ||
"example.com": { | ||
"subject": "example.com", | ||
"altnames": ["example.com", "www.example.com"] | ||
} | ||
} | ||
"subscriberEmail": "letsencrypt-test@therootcompany.com", | ||
"agreeToTerms": true, | ||
"sites": { | ||
"example.com": { | ||
"subject": "example.com", | ||
"altnames": ["example.com", "www.example.com"] | ||
} | ||
} | ||
} | ||
@@ -280,6 +280,6 @@ ``` | ||
- DNS Validation | ||
- [**Wildcards**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/wildcards/) (coming soon) | ||
- [**Localhost**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/localhost/) (coming soon) | ||
- [**CI/CD**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/ci-cd/) (coming soon) | ||
- DNS Validation | ||
- [**Wildcards**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/wildcards/) (coming soon) | ||
- [**Localhost**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/localhost/) (coming soon) | ||
- [**CI/CD**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/ci-cd/) (coming soon) | ||
@@ -292,13 +292,13 @@ </details> | ||
- [greenlock-express.js/examples/](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples) | ||
- [Express](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/express/) | ||
- [Node's **http2**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http2/) | ||
- [Node's https](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/https/) | ||
- [**WebSockets**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/websockets/) | ||
- [Socket.IO](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/socket-io/) | ||
- [Cluster](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/cluster/) | ||
- [**Wildcards**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/wildcards/) (coming soon) | ||
- [**Localhost**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/localhost/) (coming soon) | ||
- [**CI/CD**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/ci-cd/) (coming soon) | ||
- [HTTP Proxy](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http-proxy/) | ||
- [greenlock-express.js/examples/](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples) | ||
- [Express](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/express/) | ||
- [Node's **http2**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http2/) | ||
- [Node's https](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/https/) | ||
- [**WebSockets**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/websockets/) | ||
- [Socket.IO](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/socket-io/) | ||
- [Cluster](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/cluster/) | ||
- [**Wildcards**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/wildcards/) (coming soon) | ||
- [**Localhost**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/localhost/) (coming soon) | ||
- [**CI/CD**](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/ci-cd/) (coming soon) | ||
- [HTTP Proxy](https://git.rootprojects.org/root/greenlock-express.js/src/branch/master/examples/http-proxy/) | ||
@@ -313,6 +313,6 @@ # Easy to Customize | ||
- [Custom Domain Management](https://git.rootprojects.org/root/greenlock-manager-test.js) | ||
- [Custom Key & Cert Storage](https://git.rootprojects.org/root/greenlock-store-test.js) | ||
- [Custom ACME HTTP-01 Challenges](https://git.rootprojects.org/root/acme-http-01-test.js) | ||
- [Custom ACME DNS-01 Challenges](https://git.rootprojects.org/root/acme-dns-01-test.js) | ||
- [Custom Domain Management](https://git.rootprojects.org/root/greenlock-manager-test.js) | ||
- [Custom Key & Cert Storage](https://git.rootprojects.org/root/greenlock-store-test.js) | ||
- [Custom ACME HTTP-01 Challenges](https://git.rootprojects.org/root/acme-http-01-test.js) | ||
- [Custom ACME DNS-01 Challenges](https://git.rootprojects.org/root/acme-dns-01-test.js) | ||
@@ -359,8 +359,8 @@ # Ready-made Integrations | ||
- training? | ||
- specific features? | ||
- different integrations? | ||
- bugfixes, on _your_ timeline? | ||
- custom code, built by experts? | ||
- commercial support and licensing? | ||
- training? | ||
- specific features? | ||
- different integrations? | ||
- bugfixes, on _your_ timeline? | ||
- custom code, built by experts? | ||
- commercial support and licensing? | ||
@@ -367,0 +367,0 @@ You're welcome to [contact us](mailto:aj@therootcompany.com) in regards to IoT, On-Prem, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31229
1.9%1
-50%Updated