1.1.1 • Published 5 years ago

damulaopzdy3 v1.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

npm.io

damu(作为命令行工具使用)

damu 面向前端静态资源服务器

安装

如果 Node 版本低于 8.x 请安装8.x往上的node版本

npm install -g damulaopzdy3

参数

    --p --port      指定端口
    --h --host      指定主机
    --r --rootPath  指定根目录 

例子

    damu --port 3000 --host "127.0.0.1" 

damu (作为第三方包使用)

安装

如果 Node 版本低于 8.x 请安装8.x往上的node版本

npm install -save damulaopzdy3

例子

    const Server = require("damulaopzdy3");
    const server = new Server({});
    //const config =  {port:3000,host:"127.0.0.1",root:"D:/a"}
    server.startServer(config)

更新日志

  • 1.1.1 支持自动打开浏览器
  • 1.0.1 解决中文乱码问题
  • 1.0.0 基础版本
1.1.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago