femine

A collection of front end tools

Author: 前端矿工
Last Updated: 21/10/19 13:16:38
Stars: 4

alfred-femine Build Statuscode style: prettiernpm-verisonnpmnpm

front end tools mine

Install

$ npm install --global alfred-femine

Requires Node.js 8+ and the Alfred Powerpack.

Usage

In Alfred, type key, Enter, and your query.

  • rgbhex – rgba 颜色转 16 进制颜色

    rgbhex 255,234,122
    rgbhex 255,234,122,0.5
  • hexrgb – 16 进制颜色转 rgba 颜色

    hexrgb #fff
  • ip – 查询本机内网和外网 ip 地址

  • caniuse – caniuse 搜索

    caniuse flex
  • enbase64 – base64 编码

    enbase64 text
    
  • debase64 – base64 解码

    debase64 text
  • ts – 翻译

  ts text
  • kcc – 短横线命名
  kcc 新年快乐
  // happy-new-year
  • lcc – 小驼峰式命名
  lcc 新年快乐
  // happyNewYear
  • ucc – 大驼峰式命名
  ucc 新年快乐
  // HappyNewYear
  • time – 时间戳

  • mdn – mdn 文档查询

  mdn text
  • npm – npm package 查询
  npm text
  • qr – 生成二维码
  qr text

or (select content ->option + command + Q) or (copy content -> option + command + R)

TODO

vscode, curl, stackoverflow

Contribute

alfy

License

MIT © zxing