本地nei接口mock插件
nei-chrome-devtools
Extension stats
This extension was removed from Chrome Web Store on
2023-06-17
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
Size: 701.44K
Email: hz*****@163.com
Other platforms
Not available on Android
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Chrome Web Store.
Extension summary
Nei Chrome插件
前端工程师在开发页面的时候,经常会碰到一个很实际的问题: 在后端接口还没开发完成时,前端怎么办? 通常有两种方案:
- 直接在代码中 mock 相应的数据。这种方案的缺点很明显,会引入无用的代码。
- 请求转发,利用nginx或者本地server(webpack-serve)将本地开会过程中调用的接口转发到nei线上服务。
方案二 看似完美,但是在实际使用过程中有配置成本层面的问题:
- 接口变更(新增、删除、修改)都需要更新转发路由表的配置文件
- 接口开始和关闭mock服务,配置比较繁琐,不够直观
- webpack-serve方式代理,在多人协助时git冲突不可避免
基于目前开发阶段前端工程师大多使用chrome调试的现状,将方案二中请求转发的逻辑迁移到浏览器中处理,并提供开启关闭接口mock的交互界面。
Extension safety
Risk impact
nei-chrome-devtools requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.
Risk likelihood
nei-chrome-devtools may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.
Upgrade to see risk analysis details
Similar extensions
Here are some Chrome extensions that are similar to nei-chrome-devtools:
PostWoman Http Test tweak: mock and modify HTTP requests Mock+ 奇代(代理工具) YAPI MOCK Plugin front-dev FeHelper(前端助手) Ajax Modifier AlloyDesigner Visual Inspector(前端重构+视觉走查辅助工具) ParrotMocker Mokku 草料二维码-快速生码和解码工具 Node.js V8 --inspector Manager (NiMV3) 稀土掘金 XSwitch JIRA SubTask URL Redirection 二维码(QR码)生成器(QR Code Generator) NGINX Purge Cache Mimic , mock http requests Scraping Helper 新浪微博图床 Console Importer Sourcegraph
https://api.crap.cn
4.46
50,000+
https://tweak-extension.com
4.68
50,000+
657805067
5.00
45
qianhongchangclass
5.00
18
kaku_fe
N/A
268
panda.xiong
N/A
18
https://www.baidufe.com
4.70
200,000+
ygyooo
4.75
20,000+
TencentAlloyTeam
3.45
4,000+
paul
4.30
3,000+
chinesedfan
5.00
140
Mukul Jain
3.39
10,000+
https://cli.im
3.67
30,000+
https://june07.com
4.41
10,000+
https://juejin.cn
3.57
100,000+
yize.shc
5.00
20,000+
xuezhouapplication
5.00
350
[email protected]
4.57
30,000+
Unknown
5.00
128
Almog Sade
3.60
295
Weicheng Huang
4.31
5,000+
Sam Su
4.87
10,000+
Rongjian Zhang
4.65
10,000+
https://sourcegraph.com
4.55
100,000+