import * as hi from "hi"; hi.header('Content-Type','text/plain;charset=UTF-8') hi.content('hello,world\n') hi.status(200)
更高级的用法请参考/usr/local/nginx/quickjs中的例子。
/usr/local/nginx/quickjs