An open API service indexing awesome lists of open source software.

https://github.com/jdf2e/jdiff

jdiff 本地 <===> 远程 对比工具
https://github.com/jdf2e/jdiff

Last synced: 3 months ago
JSON representation

jdiff 本地 <===> 远程 对比工具

Awesome Lists containing this project

README

          

# jdiff 本地 <===> 远程 对比工具

可将本地目录中的前端资源与线上进行比对,确保安全。

![](https://raw.githubusercontent.com/jdf2e/jdiff/master/test/1.png)

```
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
// ____/`---'\____
// . ' \\| |// `.
// / \\||| : |||// \
// / _||||| -:- |||||- \
// | | \\\ - /// | |
// | \_| ''\---/'' | |
// \ .-\__ `-` ___/-. /
// ___`. .' /--.--\ `. . __
// ."" '< `.___\_<|>_/___.' >'"".
// | | : `- \`.;`\ _ /`;.`/ - ` : | |
// \ \ `-. \_ __\ /__ _/ .-` / /
// ======`-.____`-.___\_____/___.-`____.-'======
// `=---='
//
// .............................................

```