tj serve 介绍
serve 是简单的命令行 Node.js 文件/目录 服务器连接构建,支持
stylus,jade 等等。灵感来源于 http-server。
使用:
Usage: serve [options] [dir] Options: -v, --version output the version number -F, --format <fmt> specify the log format string -p, --port <port> specify the port [3000] -f, --favicon <path> serve the given favicon -H, --hidden enable hidden file serving -C, --cors allows cross origin access serving -S, --no-stylus disable stylus rendering -J, --no-jade disable jade rendering --no-less disable less css rendering -I, --no-icons disable icons -L, --no-logs disable request logging -D, --no-dirs disable directory serving --compress gzip or deflate the response --exec <cmd> execute command on each request -h, --help output usage @R_639_4045@ion
tj serve 官网
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。