0.0.6 • Published 7 years ago

twng v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.7

7 years ago

0.0.8

7 years ago

0.0.9

7 years ago

1.0.0

7 years ago