parse-js 0.24.1

JavaScript parsing library
Documentation
{
  "$t": "VarDecl",
  "declarators": [
    {
      "initializer": {
        "$t": "ArrowFunctionExpr",
        "function": {
          "$t": "Function",
          "arrow": true,
          "async_": false,
          "body": {
            "$t": "FunctionBody",
            "body": []
          },
          "generator": false,
          "parameters": [
            {
              "$t": "ParamDecl",
              "default_value": null,
              "pattern": {
                "$t": "ObjectPattern",
                "properties": [],
                "rest": null
              },
              "rest": false
            }
          ]
        },
        "parenthesised": false
      },
      "pattern": {
        "$t": "IdentifierPattern",
        "name": "x"
      }
    }
  ],
  "export": false,
  "mode": "Const"
}