skyler
V2EX  ›  Node.js

用 node 做了一个 caniuse.com 的命令行工具

  •  1
     
  •   skyler · Mar 20, 2015 · 3978 views
    This topic created in 4246 days ago, the information mentioned may be changed or developed.

    利用的数据是caniuse.com 作者开源在github上的,然后自己用node写了个小Server 放在 京东云擎上(为什么是京东云?因为免费~!)。

    安装方式

    $ npm install yong -g
    

    使用方式

    $  yong border-radius
    

    支持传参

    $  yong border-radius -b ie
    


    参数主要有 「ie」「chrome」「firefox」...

    github 地址: https://github.com/skylerzhang/yong

    5 replies  •  2015-03-20 16:41:20 +08:00
    oott123
    oott123
    Mar 20, 2015❤️1
    1
    感觉展示形式还是可以优化吧……
    看这样的终端输出结果有点累……
    chunyang
    chunyang
    Mar 20, 2015
    2
    README.md 上的第一个链接写错了
    skyler
    skyler
    OP
    Mar 20, 2015
    3
    @oott123 嗯,准备弄成表格形式的
    skyler
    skyler
    OP
    Mar 20, 2015
    4
    @chunyang 嗯 谢谢提醒
    hkongm
    hkongm
    Mar 20, 2015❤️1
    5
    好!支持!watch一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4341 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 04:02 · PVG 12:02 · LAX 20:02 · JFK 23:02
    ♥ Do have faith in what you're doing.