https://github.com/jdf2e/jdiff
jdiff 本地 <===> 远程 对比工具
https://github.com/jdf2e/jdiff
Last synced: 3 months ago
JSON representation
jdiff 本地 <===> 远程 对比工具
- Host: GitHub
- URL: https://github.com/jdf2e/jdiff
- Owner: jdf2e
- Created: 2017-03-02T07:34:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T05:55:08.000Z (about 9 years ago)
- Last Synced: 2025-10-17T17:39:36.253Z (8 months ago)
- Language: HTML
- Homepage:
- Size: 149 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jdiff 本地 <===> 远程 对比工具
可将本地目录中的前端资源与线上进行比对,确保安全。

```
npm install -g jdiff
```
# usage
```
jdiff -l ./myproject/xxx -r http://www.domain.com/xxx -t 1d
-l local 指定本地目录
-r remote 指定远程 url
-t time 指定过滤指定时间内的本地文件, (1d = 1天, 1h = 一小时)
```
js html css 自动格式化, 即使线上代码被压缩也可比对.
## 阿弥陀佛, 已开光, start 后佛祖保佑, 上线平安.
```
// _ooOoo_
// o8888888o
// 88" . "88
// (| -_- |)
// O\ = /O
// ____/`---'\____
// . ' \\| |// `.
// / \\||| : |||// \
// / _||||| -:- |||||- \
// | | \\\ - /// | |
// | \_| ''\---/'' | |
// \ .-\__ `-` ___/-. /
// ___`. .' /--.--\ `. . __
// ."" '< `.___\_<|>_/___.' >'"".
// | | : `- \`.;`\ _ /`;.`/ - ` : | |
// \ \ `-. \_ __\ /__ _/ .-` / /
// ======`-.____`-.___\_____/___.-`____.-'======
// `=---='
//
// .............................................
```