Ahuigo

Results 27 issues of Ahuigo

This `mergeHandler()` could be used to 1. Merge handlers. 2. Control the order of handlers manually It is necessary in many situations. https://github.com/denoland/fresh/issues/549

Let FileStream inherits fs.ReadStream to support bytesRead property like this: https://github.com/mscdex/busboy/issues/173 ``` busboy.on('file', function(fieldname, file, filename, encoding, mimetype) { const fs = require('fs') const ws = fs.createWriteStream('busboy.txt') const ps =...

feature request

I found that busboy's FileStream inherits ReadableStream, so FileStream is missing bytesRead. Could `FileStream` inherits `fs.ReadStream` to support `bytesRead` property like this: ``` busboy.on('file', function(fieldname, file, filename, encoding, mimetype) {...

feature request

It is very practical. https://ahuigo.github.io/local-jsfiddle/fiddle.html As it is very different from TinyEditor, so I do not make a PR.

Is there any way to disable nunjucks? ``` Template render error: (unknown path) [Line 81, Column 26] Error: Unable to call `helper["shtml"]`, which is undefined or falsey at Object._prettifyError (/Users/hilojack/www/a/blog2/node_modules/nunjucks/src/lib.js:36:11)...

Could it watch multiple directory? ``` // .air.conf watch_dir = ".;pkg_dir_1;pkg_dir_2" ```

##### Description `import mod` do not work with memory profile. ##### How to reproduce mod.py: `print("I'm mod")` main.py: `import mod` ##### Actual results ```bash $ vprof -c cm "main.py" Running...

bug

I have nearly about 800 markdown files, and it leads `db.json` increment to about *20M*. I don't think It is necessary to store content within `db.json`.

discussion
#perfmatters

What I mean is that, is it possible to **skip** this `import "cdn/external.css"` expression at hydrate **server side**? Since this expression can only be used at **browser side**.