parse-js 0.21.0

JavaScript parsing library
Documentation
{
  "$t": "ForStmt",
  "body": {
    "$t": "BlockStmt",
    "body": []
  },
  "header": {
    "InOf": {
      "await_": true,
      "lhs": {
        "Declaration": {
          "$t": "VarDecl",
          "declarators": [
            {
              "initializer": null,
              "pattern": {
                "$t": "IdentifierPattern",
                "name": "s"
              }
            }
          ],
          "mode": "Const"
        }
      },
      "of": true,
      "rhs": {
        "$t": "IdentifierExpr",
        "name": "expr"
      }
    }
  }
}