weassl
v1.0.3
Published
Easy SSL
Downloads
1
Readme
WeaSSL
Easy SSL w/ NodeJS
Install
npm i weassl
Build
git clone https://github.com/entrpix/weassl
cd weassl
npm i
npm run build
Usage
const weassl = require('weassl');
const https = require('https');
const serverOptions = weassl.setup('path/to/key.pem', 'path/to/cert.pem');
server.listen(443, () => {
console.log('Server running at https://localhost:443/');
});
Examples
Examples can be found here