0.2.0-alpha3 • Published 7 years ago
@plant/https v0.2.0-alpha3
Node HTTPS for Plant
Plant adapter for node.js https module. It creates server listener from plant instance and https options.
Install
npm i @plant/httpsUsage
const Plant = require('@plant/plant');
const createServer = require('@plant/https');
const plant = new Plant();
plant.use(({res}) => {
res.body = 'Ok';
});
createServer(plant, {
// get SSL key and cert somehow
key,
cert,
})
.listen(8080);Copyright
MIT © Rumkin
1.0.1
6 years ago
1.0.0
7 years ago
0.2.0-alpha4
7 years ago
0.2.0-alpha3
7 years ago
0.2.0-alpha.2
7 years ago
0.2.0-alpha.1
7 years ago
0.2.0-alpha
7 years ago
0.1.0
8 years ago