1. {
    2. "features": {
    3. "code": "regex_vfbrjwolc8",
    4. "explain": "js计算器",
    5. "cmds": [
    6. {
    7. "label": "js计算器",
    8. "type": "regex",
    9. "match": "/[\\+\\-\\*\\/]/",
    10. "minNum": 1
    11. }
    12. ],
    13. "icon": "logo/quickcommand.png",
    14. "platform": [
    15. "win32",
    16. "darwin",
    17. "linux"
    18. ]
    19. },
    20. "program": "quickcommand",
    21. "cmd": "const input = '{{input}}'\nconst total = eval(input);\nconsole.log(`${input}=${total}`)\ncopyTo(`${total}`)",
    22. "output": "text",
    23. "hasSubInput": false,
    24. "scptarg": "",
    25. "tags": [
    26. "工具"
    27. ],
    28. "authorId": 922,
    29. "authorName": "svenzhao"
    30. }