iservers
v8.0.6
Published
A simple server developed using nodeJS.
Downloads
78
Readme
iServers
A simple server developed using nodeJS. 使用nodeJS开发的简单服务器。
本地静态服务器,通过浏览器快捷管理文件服务。
[TOC]
主题效果
支持深色主题与浅色主题
- 支持 HTML、CSS、Vue、JOSN、markdown 等文件的预览
- 支持打开本地文件目录
- 支持快速复制文件目录
- 支持快速查寻功能(过滤列表功能)
- 支持预览图片
- 支持 markdown 文件渲染
- 支持 HTML 文件的预览
- 支持使用二维码快速访问
- LightView(支持滚动历史记录)
Installation
npm i -g iservers
Usage
# 进入你想要作用服务器根目录的地址:
cd yourExistingFolder
# 启动:
# 启动 8080 端口服务
iserver
# 帮助信息
iserver -h
UnInstallation
npm uni -g iservers
Features
动态监听文件的变化
同时也支持文件夹的变化监听。
文件预览
可以对 html\css\js等文件文件直接查看
打开本地文件
在你查看的项目文件时,可以快速的打开本地地址。
复制文件路径
你可以使用右键然后选择复制当前路径快速得到文件地址,然后可以在你要使用的地方,粘贴出来
LightView
点击目录或切换浏览器历史记录时,高亮定位内容,并高亮显示。
属性说明
iserver [options]
| 属性 | 类型 | 说明 | 默认值 |
|:---:|:---|:---|:---|
| -p
| number
| 端口 | 8080 |
| -s
| boolean
| 是否要使用 https | true |
| -b
| [chrome\|firefox\|ie\|opera]
| 指定打开浏览器 | 默认浏览器 |
相关资料
License
MIT