parse-js 0.23.0

JavaScript parsing library
Documentation
{
  "$t": "VarDecl",
  "declarators": [
    {
      "initializer": {
        "$t": "ArrowFunctionExpr",
        "parenthesised": false,
        "is_async": false,
        "body": {
          "$t": "BlockStmt",
          "body": []
        },
        "signature": {
          "$t": "FunctionSignature",
          "parameters": [
            {
              "$t": "ParamDecl",
              "default_value": null,
              "pattern": {
                "$t": "ObjectPattern",
                "properties": [],
                "rest": null
              },
              "rest": false
            }
          ]
        }
      },
      "pattern": {
        "$t": "IdentifierPattern",
        "name": "x"
      }
    }
  ],
  "export": false,
  "mode": "Const"
}