Yad Smood
Yad Smood
So the size of the executable can be very tiny. Some candidates: - C - https://nim-lang.org/ - https://www.rust-lang.org/ - https://www.red-lang.org/ - https://vlang.io/ - https://ziglang.org/
- static file routes - mime
> I recommand to remove the 404 error when iterate over the middleware array > check the middleware before running > and always allow the last middleware to call ctx.next()...
Such as ``` js let http = require('http'); let { route, flow } = kit.proxy; route .get('/items', ctx => ctx.body = [1, 2, 3]) .post('/upload', uploader) .error(errorHanlder) .end(); http.createServer(flow(route)).listen(8080); ```...
62b8206
``` coffee { '-n, --name [name]': { help: 'intro' default: 'jack' filter: (val, opts) -> } 'do': { help: 'do something' options: { '-n, --name [name]': { help: 'sub opts'...
Usage: ``` ikey = keymaster( document.getElementById('#iframe').contentWindow ); ikey('ctrl+a', iframe_handler); // Still compatible with the previous api. key('ctrl+b', host_window_handler); ```
