caniuse 命令行工具

2015-07-28 23:06:26 +08:00
 hanan321

大名鼎鼎的 caniuse.com 相信每个前端同学都不陌生.
这款查询浏览器兼容性的利器, 现在可以在命令行下使用了. 相比每次打开网站查询, 命令行确实方便许多哦.

首先,安装 caniuse 命令:

npm install -g caniuse-cmd

然后在命令行就可以使用 caniuse 这一命令了, 后面跟你要查询的特性就行:

附项目的github: https://github.com/sgentle/caniuse-cmd

3388 次点击
所在节点    Node.js
4 条回复
hbkdsm
2015-07-29 07:37:38 +08:00
已使用 很不错
yuezhimsolo
2015-07-29 09:29:17 +08:00
@hanan321 ,能把你.bash_profile发我一份么,你的cmd提示符怎么改造?
del1214
2015-07-29 13:33:14 +08:00
@yuezhimsolo 图片里的是zsh吧
hanan321
2015-07-29 15:32:21 +08:00
@yuezhimsolo 我用的是zsh,搜索下oh my zsh 就可以了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/209056

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX