0.0.6 • Published 5 years ago

twng v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

twng a lighting async web frame

packge have one pem file and one test file;

test.js

const app = require("twng");
const fs = require("fs");
let server = new app();
server.createSecureServer(
    fs.readFileSync("./localhost-privkey.pem"),
    fs.readFileSync("./localhost-cert.pem"),
);

server.use(async (ctx, next) => {
    ctx.body ="123";
});
server.listen(443);

0.0.6

5 years ago

0.0.7

5 years ago

0.0.8

5 years ago

0.0.9

5 years ago

1.0.0

5 years ago