{
  "type": "Program",
  "body": [
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "local": {
            "type": "Identifier",
            "name": "fs",
            "range": [
              40,
              42
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 7
              },
              "end": {
                "line": 5,
                "column": 9
              }
            }
          },
          "range": [
            40,
            42
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 7
            },
            "end": {
              "line": 5,
              "column": 9
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "fs",
        "raw": "'fs'",
        "range": [
          48,
          52
        ],
        "loc": {
          "start": {
            "line": 5,
            "column": 15
          },
          "end": {
            "line": 5,
            "column": 19
          }
        }
      },
      "range": [
        33,
        53
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 20
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * @module climb-lookup\n ",
          "range": [
            0,
            31
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 3,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "local": {
            "type": "Identifier",
            "name": "path",
            "range": [
              61,
              65
            ],
            "loc": {
              "start": {
                "line": 6,
                "column": 7
              },
              "end": {
                "line": 6,
                "column": 11
              }
            }
          },
          "range": [
            61,
            65
          ],
          "loc": {
            "start": {
              "line": 6,
              "column": 7
            },
            "end": {
              "line": 6,
              "column": 11
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "path",
        "raw": "'path'",
        "range": [
          71,
          77
        ],
        "loc": {
          "start": {
            "line": 6,
            "column": 17
          },
          "end": {
            "line": 6,
            "column": 23
          }
        }
      },
      "range": [
        54,
        78
      ],
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 6,
          "column": 24
        }
      }
    },
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "local": {
            "type": "Identifier",
            "name": "objectAssign",
            "range": [
              86,
              98
            ],
            "loc": {
              "start": {
                "line": 7,
                "column": 7
              },
              "end": {
                "line": 7,
                "column": 19
              }
            }
          },
          "range": [
            86,
            98
          ],
          "loc": {
            "start": {
              "line": 7,
              "column": 7
            },
            "end": {
              "line": 7,
              "column": 19
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "object-assign",
        "raw": "'object-assign'",
        "range": [
          104,
          119
        ],
        "loc": {
          "start": {
            "line": 7,
            "column": 25
          },
          "end": {
            "line": 7,
            "column": 40
          }
        }
      },
      "range": [
        79,
        120
      ],
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 7,
          "column": 41
        }
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n* Get recursively climbing paths.\n*\n* @function getPaths\n* @param {string} filePath - base path\n* @return {array} paths - an abosolute file paths from filePath to root\n",
          "range": [
            122,
            296
          ],
          "loc": {
            "start": {
              "line": 9,
              "column": 0
            },
            "end": {
              "line": 15,
              "column": 2
            }
          }
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": {
          "type": "Identifier",
          "name": "getPaths",
          "range": [
            313,
            321
          ],
          "loc": {
            "start": {
              "line": 16,
              "column": 16
            },
            "end": {
              "line": 16,
              "column": 24
            }
          }
        },
        "params": [
          {
            "type": "Identifier",
            "name": "filePath",
            "range": [
              322,
              330
            ],
            "loc": {
              "start": {
                "line": 16,
                "column": 25
              },
              "end": {
                "line": 16,
                "column": 33
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "paths",
                    "range": [
                      342,
                      347
                    ],
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 8
                      },
                      "end": {
                        "line": 17,
                        "column": 13
                      }
                    }
                  },
                  "init": {
                    "type": "ArrayExpression",
                    "elements": [],
                    "range": [
                      350,
                      352
                    ],
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 16
                      },
                      "end": {
                        "line": 17,
                        "column": 18
                      }
                    }
                  },
                  "range": [
                    342,
                    352
                  ],
                  "loc": {
                    "start": {
                      "line": 17,
                      "column": 8
                    },
                    "end": {
                      "line": 17,
                      "column": 18
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                336,
                353
              ],
              "loc": {
                "start": {
                  "line": 17,
                  "column": 2
                },
                "end": {
                  "line": 17,
                  "column": 19
                }
              }
            },
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "fileName",
                    "range": [
                      363,
                      371
                    ],
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 8
                      },
                      "end": {
                        "line": 19,
                        "column": 16
                      }
                    }
                  },
                  "init": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "MemberExpression",
                      "computed": false,
                      "object": {
                        "type": "Identifier",
                        "name": "path",
                        "range": [
                          374,
                          378
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 19
                          },
                          "end": {
                            "line": 19,
                            "column": 23
                          }
                        }
                      },
                      "property": {
                        "type": "Identifier",
                        "name": "basename",
                        "range": [
                          379,
                          387
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 24
                          },
                          "end": {
                            "line": 19,
                            "column": 32
                          }
                        }
                      },
                      "range": [
                        374,
                        387
                      ],
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 19
                        },
                        "end": {
                          "line": 19,
                          "column": 32
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Identifier",
                        "name": "filePath",
                        "range": [
                          388,
                          396
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 33
                          },
                          "end": {
                            "line": 19,
                            "column": 41
                          }
                        }
                      }
                    ],
                    "range": [
                      374,
                      397
                    ],
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 19
                      },
                      "end": {
                        "line": 19,
                        "column": 42
                      }
                    }
                  },
                  "range": [
                    363,
                    397
                  ],
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 8
                    },
                    "end": {
                      "line": 19,
                      "column": 42
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                357,
                398
              ],
              "loc": {
                "start": {
                  "line": 19,
                  "column": 2
                },
                "end": {
                  "line": 19,
                  "column": 43
                }
              }
            },
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "current",
                    "range": [
                      405,
                      412
                    ],
                    "loc": {
                      "start": {
                        "line": 20,
                        "column": 6
                      },
                      "end": {
                        "line": 20,
                        "column": 13
                      }
                    }
                  },
                  "init": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "MemberExpression",
                      "computed": false,
                      "object": {
                        "type": "Identifier",
                        "name": "path",
                        "range": [
                          415,
                          419
                        ],
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 16
                          },
                          "end": {
                            "line": 20,
                            "column": 20
                          }
                        }
                      },
                      "property": {
                        "type": "Identifier",
                        "name": "resolve",
                        "range": [
                          420,
                          427
                        ],
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 21
                          },
                          "end": {
                            "line": 20,
                            "column": 28
                          }
                        }
                      },
                      "range": [
                        415,
                        427
                      ],
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 16
                        },
                        "end": {
                          "line": 20,
                          "column": 28
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "Identifier",
                        "name": "filePath",
                        "range": [
                          428,
                          436
                        ],
                        "loc": {
                          "start": {
                            "line": 20,
                            "column": 29
                          },
                          "end": {
                            "line": 20,
                            "column": 37
                          }
                        }
                      }
                    ],
                    "range": [
                      415,
                      437
                    ],
                    "loc": {
                      "start": {
                        "line": 20,
                        "column": 16
                      },
                      "end": {
                        "line": 20,
                        "column": 38
                      }
                    }
                  },
                  "range": [
                    405,
                    437
                  ],
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 6
                    },
                    "end": {
                      "line": 20,
                      "column": 38
                    }
                  }
                }
              ],
              "kind": "let",
              "range": [
                401,
                438
              ],
              "loc": {
                "start": {
                  "line": 20,
                  "column": 2
                },
                "end": {
                  "line": 20,
                  "column": 39
                }
              }
            },
            {
              "type": "WhileStatement",
              "test": {
                "type": "BinaryExpression",
                "operator": ">",
                "left": {
                  "type": "MemberExpression",
                  "computed": false,
                  "object": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "MemberExpression",
                      "computed": false,
                      "object": {
                        "type": "Identifier",
                        "name": "current",
                        "range": [
                          448,
                          455
                        ],
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 9
                          },
                          "end": {
                            "line": 21,
                            "column": 16
                          }
                        }
                      },
                      "property": {
                        "type": "Identifier",
                        "name": "split",
                        "range": [
                          456,
                          461
                        ],
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 17
                          },
                          "end": {
                            "line": 21,
                            "column": 22
                          }
                        }
                      },
                      "range": [
                        448,
                        461
                      ],
                      "loc": {
                        "start": {
                          "line": 21,
                          "column": 9
                        },
                        "end": {
                          "line": 21,
                          "column": 22
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "path",
                          "range": [
                            462,
                            466
                          ],
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 23
                            },
                            "end": {
                              "line": 21,
                              "column": 27
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "sep",
                          "range": [
                            467,
                            470
                          ],
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 28
                            },
                            "end": {
                              "line": 21,
                              "column": 31
                            }
                          }
                        },
                        "range": [
                          462,
                          470
                        ],
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 23
                          },
                          "end": {
                            "line": 21,
                            "column": 31
                          }
                        }
                      }
                    ],
                    "range": [
                      448,
                      471
                    ],
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 9
                      },
                      "end": {
                        "line": 21,
                        "column": 32
                      }
                    }
                  },
                  "property": {
                    "type": "Identifier",
                    "name": "length",
                    "range": [
                      472,
                      478
                    ],
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 33
                      },
                      "end": {
                        "line": 21,
                        "column": 39
                      }
                    }
                  },
                  "range": [
                    448,
                    478
                  ],
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 9
                    },
                    "end": {
                      "line": 21,
                      "column": 39
                    }
                  }
                },
                "right": {
                  "type": "Literal",
                  "value": 2,
                  "raw": "2",
                  "range": [
                    481,
                    482
                  ],
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 42
                    },
                    "end": {
                      "line": 21,
                      "column": 43
                    }
                  }
                },
                "range": [
                  448,
                  482
                ],
                "loc": {
                  "start": {
                    "line": 21,
                    "column": 9
                  },
                  "end": {
                    "line": 21,
                    "column": 43
                  }
                }
              },
              "body": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "CallExpression",
                      "callee": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "paths",
                          "range": [
                            510,
                            515
                          ],
                          "loc": {
                            "start": {
                              "line": 22,
                              "column": 4
                            },
                            "end": {
                              "line": 22,
                              "column": 9
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "push",
                          "range": [
                            516,
                            520
                          ],
                          "loc": {
                            "start": {
                              "line": 22,
                              "column": 10
                            },
                            "end": {
                              "line": 22,
                              "column": 14
                            }
                          }
                        },
                        "range": [
                          510,
                          520
                        ],
                        "loc": {
                          "start": {
                            "line": 22,
                            "column": 4
                          },
                          "end": {
                            "line": 22,
                            "column": 14
                          }
                        }
                      },
                      "arguments": [
                        {
                          "type": "Identifier",
                          "name": "current",
                          "range": [
                            521,
                            528
                          ],
                          "loc": {
                            "start": {
                              "line": 22,
                              "column": 15
                            },
                            "end": {
                              "line": 22,
                              "column": 22
                            }
                          }
                        }
                      ],
                      "range": [
                        510,
                        529
                      ],
                      "loc": {
                        "start": {
                          "line": 22,
                          "column": 4
                        },
                        "end": {
                          "line": 22,
                          "column": 23
                        }
                      }
                    },
                    "range": [
                      510,
                      530
                    ],
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 4
                      },
                      "end": {
                        "line": 22,
                        "column": 24
                      }
                    },
                    "leadingComments": [
                      {
                        "type": "Line",
                        "value": " unless `/${file}`",
                        "range": [
                          485,
                          505
                        ],
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 46
                          },
                          "end": {
                            "line": 21,
                            "column": 66
                          }
                        }
                      }
                    ]
                  },
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "AssignmentExpression",
                      "operator": "=",
                      "left": {
                        "type": "Identifier",
                        "name": "current",
                        "range": [
                          536,
                          543
                        ],
                        "loc": {
                          "start": {
                            "line": 24,
                            "column": 4
                          },
                          "end": {
                            "line": 24,
                            "column": 11
                          }
                        }
                      },
                      "right": {
                        "type": "CallExpression",
                        "callee": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "path",
                            "range": [
                              546,
                              550
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 14
                              },
                              "end": {
                                "line": 24,
                                "column": 18
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "join",
                            "range": [
                              551,
                              555
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 19
                              },
                              "end": {
                                "line": 24,
                                "column": 23
                              }
                            }
                          },
                          "range": [
                            546,
                            555
                          ],
                          "loc": {
                            "start": {
                              "line": 24,
                              "column": 14
                            },
                            "end": {
                              "line": 24,
                              "column": 23
                            }
                          }
                        },
                        "arguments": [
                          {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "path",
                                "range": [
                                  556,
                                  560
                                ],
                                "loc": {
                                  "start": {
                                    "line": 24,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 24,
                                    "column": 28
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "join",
                                "range": [
                                  561,
                                  565
                                ],
                                "loc": {
                                  "start": {
                                    "line": 24,
                                    "column": 29
                                  },
                                  "end": {
                                    "line": 24,
                                    "column": 33
                                  }
                                }
                              },
                              "range": [
                                556,
                                565
                              ],
                              "loc": {
                                "start": {
                                  "line": 24,
                                  "column": 24
                                },
                                "end": {
                                  "line": 24,
                                  "column": 33
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "name": "current",
                                "range": [
                                  566,
                                  573
                                ],
                                "loc": {
                                  "start": {
                                    "line": 24,
                                    "column": 34
                                  },
                                  "end": {
                                    "line": 24,
                                    "column": 41
                                  }
                                }
                              },
                              {
                                "type": "Literal",
                                "value": "..",
                                "raw": "'..'",
                                "range": [
                                  575,
                                  579
                                ],
                                "loc": {
                                  "start": {
                                    "line": 24,
                                    "column": 43
                                  },
                                  "end": {
                                    "line": 24,
                                    "column": 47
                                  }
                                }
                              },
                              {
                                "type": "Literal",
                                "value": "..",
                                "raw": "'..'",
                                "range": [
                                  581,
                                  585
                                ],
                                "loc": {
                                  "start": {
                                    "line": 24,
                                    "column": 49
                                  },
                                  "end": {
                                    "line": 24,
                                    "column": 53
                                  }
                                }
                              }
                            ],
                            "range": [
                              556,
                              586
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 24
                              },
                              "end": {
                                "line": 24,
                                "column": 54
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "fileName",
                            "range": [
                              588,
                              596
                            ],
                            "loc": {
                              "start": {
                                "line": 24,
                                "column": 56
                              },
                              "end": {
                                "line": 24,
                                "column": 64
                              }
                            }
                          }
                        ],
                        "range": [
                          546,
                          597
                        ],
                        "loc": {
                          "start": {
                            "line": 24,
                            "column": 14
                          },
                          "end": {
                            "line": 24,
                            "column": 65
                          }
                        }
                      },
                      "range": [
                        536,
                        597
                      ],
                      "loc": {
                        "start": {
                          "line": 24,
                          "column": 4
                        },
                        "end": {
                          "line": 24,
                          "column": 65
                        }
                      }
                    },
                    "range": [
                      536,
                      598
                    ],
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 4
                      },
                      "end": {
                        "line": 24,
                        "column": 66
                      }
                    }
                  }
                ],
                "range": [
                  484,
                  602
                ],
                "loc": {
                  "start": {
                    "line": 21,
                    "column": 45
                  },
                  "end": {
                    "line": 25,
                    "column": 3
                  }
                }
              },
              "range": [
                441,
                602
              ],
              "loc": {
                "start": {
                  "line": 21,
                  "column": 2
                },
                "end": {
                  "line": 25,
                  "column": 3
                }
              }
            },
            {
              "type": "ExpressionStatement",
              "expression": {
                "type": "CallExpression",
                "callee": {
                  "type": "MemberExpression",
                  "computed": false,
                  "object": {
                    "type": "Identifier",
                    "name": "paths",
                    "range": [
                      605,
                      610
                    ],
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 2
                      },
                      "end": {
                        "line": 26,
                        "column": 7
                      }
                    }
                  },
                  "property": {
                    "type": "Identifier",
                    "name": "push",
                    "range": [
                      611,
                      615
                    ],
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 8
                      },
                      "end": {
                        "line": 26,
                        "column": 12
                      }
                    }
                  },
                  "range": [
                    605,
                    615
                  ],
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 2
                    },
                    "end": {
                      "line": 26,
                      "column": 12
                    }
                  }
                },
                "arguments": [
                  {
                    "type": "Identifier",
                    "name": "current",
                    "range": [
                      616,
                      623
                    ],
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 13
                      },
                      "end": {
                        "line": 26,
                        "column": 20
                      }
                    }
                  }
                ],
                "range": [
                  605,
                  624
                ],
                "loc": {
                  "start": {
                    "line": 26,
                    "column": 2
                  },
                  "end": {
                    "line": 26,
                    "column": 21
                  }
                }
              },
              "range": [
                605,
                625
              ],
              "loc": {
                "start": {
                  "line": 26,
                  "column": 2
                },
                "end": {
                  "line": 26,
                  "column": 22
                }
              }
            },
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "Identifier",
                "name": "paths",
                "range": [
                  636,
                  641
                ],
                "loc": {
                  "start": {
                    "line": 28,
                    "column": 9
                  },
                  "end": {
                    "line": 28,
                    "column": 14
                  }
                }
              },
              "range": [
                629,
                642
              ],
              "loc": {
                "start": {
                  "line": 28,
                  "column": 2
                },
                "end": {
                  "line": 28,
                  "column": 15
                }
              }
            }
          ],
          "range": [
            332,
            644
          ],
          "loc": {
            "start": {
              "line": 16,
              "column": 35
            },
            "end": {
              "line": 29,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          304,
          644
        ],
        "loc": {
          "start": {
            "line": 16,
            "column": 7
          },
          "end": {
            "line": 29,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n* Get recursively climbing paths.\n*\n* @function getPaths\n* @param {string} filePath - base path\n* @return {array} paths - an abosolute file paths from filePath to root\n",
            "range": [
              122,
              296
            ],
            "loc": {
              "start": {
                "line": 9,
                "column": 0
              },
              "end": {
                "line": 15,
                "column": 2
              }
            }
          }
        ],
        "trailingComments": [
          {
            "type": "Block",
            "value": "*\n* lookup climbing recursively file like a `require`.\n*\n* @function lookup\n* @param {string} file - lookup file name\n* @param {object} [options] -\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @param {lookedupAbsolutePath} callback -\n",
            "range": [
              646,
              978
            ],
            "loc": {
              "start": {
                "line": 31,
                "column": 0
              },
              "end": {
                "line": 40,
                "column": 2
              }
            }
          }
        ]
      },
      "specifiers": [],
      "source": null,
      "range": [
        297,
        644
      ],
      "loc": {
        "start": {
          "line": 16,
          "column": 0
        },
        "end": {
          "line": 29,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n* Get recursively climbing paths.\n*\n* @function getPaths\n* @param {string} filePath - base path\n* @return {array} paths - an abosolute file paths from filePath to root\n",
          "range": [
            122,
            296
          ],
          "loc": {
            "start": {
              "line": 9,
              "column": 0
            },
            "end": {
              "line": 15,
              "column": 2
            }
          }
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n* lookup climbing recursively file like a `require`.\n*\n* @function lookup\n* @param {string} file - lookup file name\n* @param {object} [options] -\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @param {lookedupAbsolutePath} callback -\n",
          "range": [
            646,
            978
          ],
          "loc": {
            "start": {
              "line": 31,
              "column": 0
            },
            "end": {
              "line": 40,
              "column": 2
            }
          }
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": {
          "type": "Identifier",
          "name": "lookup",
          "range": [
            995,
            1001
          ],
          "loc": {
            "start": {
              "line": 41,
              "column": 16
            },
            "end": {
              "line": 41,
              "column": 22
            }
          }
        },
        "params": [
          {
            "type": "Identifier",
            "name": "file",
            "range": [
              1002,
              1006
            ],
            "loc": {
              "start": {
                "line": 41,
                "column": 23
              },
              "end": {
                "line": 41,
                "column": 27
              }
            }
          },
          {
            "type": "RestElement",
            "argument": {
              "type": "Identifier",
              "name": "params",
              "range": [
                1011,
                1017
              ],
              "loc": {
                "start": {
                  "line": 41,
                  "column": 32
                },
                "end": {
                  "line": 41,
                  "column": 38
                }
              }
            },
            "range": [
              1008,
              1017
            ],
            "loc": {
              "start": {
                "line": 41,
                "column": 29
              },
              "end": {
                "line": 41,
                "column": 38
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "ArrayPattern",
                    "elements": [
                      {
                        "type": "Identifier",
                        "name": "options",
                        "range": [
                          1030,
                          1037
                        ],
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 9
                          },
                          "end": {
                            "line": 42,
                            "column": 16
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "callback",
                        "range": [
                          1039,
                          1047
                        ],
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 18
                          },
                          "end": {
                            "line": 42,
                            "column": 26
                          }
                        }
                      }
                    ],
                    "range": [
                      1029,
                      1048
                    ],
                    "loc": {
                      "start": {
                        "line": 42,
                        "column": 8
                      },
                      "end": {
                        "line": 42,
                        "column": 27
                      }
                    }
                  },
                  "init": {
                    "type": "ConditionalExpression",
                    "test": {
                      "type": "BinaryExpression",
                      "operator": "===",
                      "left": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "params",
                          "range": [
                            1051,
                            1057
                          ],
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 30
                            },
                            "end": {
                              "line": 42,
                              "column": 36
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "length",
                          "range": [
                            1058,
                            1064
                          ],
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 37
                            },
                            "end": {
                              "line": 42,
                              "column": 43
                            }
                          }
                        },
                        "range": [
                          1051,
                          1064
                        ],
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 30
                          },
                          "end": {
                            "line": 42,
                            "column": 43
                          }
                        }
                      },
                      "right": {
                        "type": "Literal",
                        "value": 1,
                        "raw": "1",
                        "range": [
                          1069,
                          1070
                        ],
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 48
                          },
                          "end": {
                            "line": 42,
                            "column": 49
                          }
                        }
                      },
                      "range": [
                        1051,
                        1070
                      ],
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 30
                        },
                        "end": {
                          "line": 42,
                          "column": 49
                        }
                      }
                    },
                    "consequent": {
                      "type": "ArrayExpression",
                      "elements": [
                        {
                          "type": "ObjectExpression",
                          "properties": [],
                          "range": [
                            1074,
                            1076
                          ],
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 53
                            },
                            "end": {
                              "line": 42,
                              "column": 55
                            }
                          }
                        },
                        {
                          "type": "MemberExpression",
                          "computed": true,
                          "object": {
                            "type": "Identifier",
                            "name": "params",
                            "range": [
                              1078,
                              1084
                            ],
                            "loc": {
                              "start": {
                                "line": 42,
                                "column": 57
                              },
                              "end": {
                                "line": 42,
                                "column": 63
                              }
                            }
                          },
                          "property": {
                            "type": "Literal",
                            "value": 0,
                            "raw": "0",
                            "range": [
                              1085,
                              1086
                            ],
                            "loc": {
                              "start": {
                                "line": 42,
                                "column": 64
                              },
                              "end": {
                                "line": 42,
                                "column": 65
                              }
                            }
                          },
                          "range": [
                            1078,
                            1087
                          ],
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 57
                            },
                            "end": {
                              "line": 42,
                              "column": 66
                            }
                          }
                        }
                      ],
                      "range": [
                        1073,
                        1088
                      ],
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 52
                        },
                        "end": {
                          "line": 42,
                          "column": 67
                        }
                      }
                    },
                    "alternate": {
                      "type": "Identifier",
                      "name": "params",
                      "range": [
                        1091,
                        1097
                      ],
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 70
                        },
                        "end": {
                          "line": 42,
                          "column": 76
                        }
                      }
                    },
                    "range": [
                      1051,
                      1097
                    ],
                    "loc": {
                      "start": {
                        "line": 42,
                        "column": 30
                      },
                      "end": {
                        "line": 42,
                        "column": 76
                      }
                    }
                  },
                  "range": [
                    1029,
                    1097
                  ],
                  "loc": {
                    "start": {
                      "line": 42,
                      "column": 8
                    },
                    "end": {
                      "line": 42,
                      "column": 76
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                1023,
                1098
              ],
              "loc": {
                "start": {
                  "line": 42,
                  "column": 2
                },
                "end": {
                  "line": 42,
                  "column": 77
                }
              }
            },
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "opts",
                    "range": [
                      1107,
                      1111
                    ],
                    "loc": {
                      "start": {
                        "line": 43,
                        "column": 8
                      },
                      "end": {
                        "line": 43,
                        "column": 12
                      }
                    }
                  },
                  "init": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "objectAssign",
                      "range": [
                        1114,
                        1126
                      ],
                      "loc": {
                        "start": {
                          "line": 43,
                          "column": 15
                        },
                        "end": {
                          "line": 43,
                          "column": 27
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "ObjectExpression",
                        "properties": [
                          {
                            "type": "Property",
                            "key": {
                              "type": "Identifier",
                              "name": "cwd",
                              "range": [
                                1133,
                                1136
                              ],
                              "loc": {
                                "start": {
                                  "line": 44,
                                  "column": 4
                                },
                                "end": {
                                  "line": 44,
                                  "column": 7
                                }
                              }
                            },
                            "value": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "process",
                                  "range": [
                                    1138,
                                    1145
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 44,
                                      "column": 9
                                    },
                                    "end": {
                                      "line": 44,
                                      "column": 16
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "cwd",
                                  "range": [
                                    1146,
                                    1149
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 44,
                                      "column": 17
                                    },
                                    "end": {
                                      "line": 44,
                                      "column": 20
                                    }
                                  }
                                },
                                "range": [
                                  1138,
                                  1149
                                ],
                                "loc": {
                                  "start": {
                                    "line": 44,
                                    "column": 9
                                  },
                                  "end": {
                                    "line": 44,
                                    "column": 20
                                  }
                                }
                              },
                              "arguments": [],
                              "range": [
                                1138,
                                1151
                              ],
                              "loc": {
                                "start": {
                                  "line": 44,
                                  "column": 9
                                },
                                "end": {
                                  "line": 44,
                                  "column": 22
                                }
                              }
                            },
                            "kind": "init",
                            "method": false,
                            "shorthand": false,
                            "computed": false,
                            "range": [
                              1133,
                              1151
                            ],
                            "loc": {
                              "start": {
                                "line": 44,
                                "column": 4
                              },
                              "end": {
                                "line": 44,
                                "column": 22
                              }
                            }
                          }
                        ],
                        "range": [
                          1127,
                          1156
                        ],
                        "loc": {
                          "start": {
                            "line": 43,
                            "column": 28
                          },
                          "end": {
                            "line": 45,
                            "column": 3
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "options",
                        "range": [
                          1158,
                          1165
                        ],
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 5
                          },
                          "end": {
                            "line": 45,
                            "column": 12
                          }
                        }
                      }
                    ],
                    "range": [
                      1114,
                      1166
                    ],
                    "loc": {
                      "start": {
                        "line": 43,
                        "column": 15
                      },
                      "end": {
                        "line": 45,
                        "column": 13
                      }
                    }
                  },
                  "range": [
                    1107,
                    1166
                  ],
                  "loc": {
                    "start": {
                      "line": 43,
                      "column": 8
                    },
                    "end": {
                      "line": 45,
                      "column": 13
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                1101,
                1167
              ],
              "loc": {
                "start": {
                  "line": 43,
                  "column": 2
                },
                "end": {
                  "line": 45,
                  "column": 14
                }
              },
              "trailingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Callback for looked up absolute file path.\n   *\n   * @callback lookedupAbsolutePath\n   * @param {error} error - no paths found\n   * @param {string} lookedupPath - a found absolute file path\n   ",
                  "range": [
                    1171,
                    1375
                  ],
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 2
                    },
                    "end": {
                      "line": 53,
                      "column": 5
                    }
                  }
                }
              ]
            },
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "paths",
                    "range": [
                      1384,
                      1389
                    ],
                    "loc": {
                      "start": {
                        "line": 54,
                        "column": 8
                      },
                      "end": {
                        "line": 54,
                        "column": 13
                      }
                    }
                  },
                  "init": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "getPaths",
                      "range": [
                        1392,
                        1400
                      ],
                      "loc": {
                        "start": {
                          "line": 54,
                          "column": 16
                        },
                        "end": {
                          "line": 54,
                          "column": 24
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "CallExpression",
                        "callee": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "path",
                            "range": [
                              1401,
                              1405
                            ],
                            "loc": {
                              "start": {
                                "line": 54,
                                "column": 25
                              },
                              "end": {
                                "line": 54,
                                "column": 29
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "resolve",
                            "range": [
                              1406,
                              1413
                            ],
                            "loc": {
                              "start": {
                                "line": 54,
                                "column": 30
                              },
                              "end": {
                                "line": 54,
                                "column": 37
                              }
                            }
                          },
                          "range": [
                            1401,
                            1413
                          ],
                          "loc": {
                            "start": {
                              "line": 54,
                              "column": 25
                            },
                            "end": {
                              "line": 54,
                              "column": 37
                            }
                          }
                        },
                        "arguments": [
                          {
                            "type": "MemberExpression",
                            "computed": false,
                            "object": {
                              "type": "Identifier",
                              "name": "opts",
                              "range": [
                                1414,
                                1418
                              ],
                              "loc": {
                                "start": {
                                  "line": 54,
                                  "column": 38
                                },
                                "end": {
                                  "line": 54,
                                  "column": 42
                                }
                              }
                            },
                            "property": {
                              "type": "Identifier",
                              "name": "cwd",
                              "range": [
                                1419,
                                1422
                              ],
                              "loc": {
                                "start": {
                                  "line": 54,
                                  "column": 43
                                },
                                "end": {
                                  "line": 54,
                                  "column": 46
                                }
                              }
                            },
                            "range": [
                              1414,
                              1422
                            ],
                            "loc": {
                              "start": {
                                "line": 54,
                                "column": 38
                              },
                              "end": {
                                "line": 54,
                                "column": 46
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "file",
                            "range": [
                              1424,
                              1428
                            ],
                            "loc": {
                              "start": {
                                "line": 54,
                                "column": 48
                              },
                              "end": {
                                "line": 54,
                                "column": 52
                              }
                            }
                          }
                        ],
                        "range": [
                          1401,
                          1429
                        ],
                        "loc": {
                          "start": {
                            "line": 54,
                            "column": 25
                          },
                          "end": {
                            "line": 54,
                            "column": 53
                          }
                        }
                      }
                    ],
                    "range": [
                      1392,
                      1430
                    ],
                    "loc": {
                      "start": {
                        "line": 54,
                        "column": 16
                      },
                      "end": {
                        "line": 54,
                        "column": 54
                      }
                    }
                  },
                  "range": [
                    1384,
                    1430
                  ],
                  "loc": {
                    "start": {
                      "line": 54,
                      "column": 8
                    },
                    "end": {
                      "line": 54,
                      "column": 54
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                1378,
                1431
              ],
              "loc": {
                "start": {
                  "line": 54,
                  "column": 2
                },
                "end": {
                  "line": 54,
                  "column": 55
                }
              },
              "leadingComments": [
                {
                  "type": "Block",
                  "value": "*\n   * Callback for looked up absolute file path.\n   *\n   * @callback lookedupAbsolutePath\n   * @param {error} error - no paths found\n   * @param {string} lookedupPath - a found absolute file path\n   ",
                  "range": [
                    1171,
                    1375
                  ],
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 2
                    },
                    "end": {
                      "line": 53,
                      "column": 5
                    }
                  }
                }
              ]
            },
            {
              "type": "ExpressionStatement",
              "expression": {
                "type": "CallExpression",
                "callee": {
                  "type": "CallExpression",
                  "callee": {
                    "type": "MemberExpression",
                    "computed": false,
                    "object": {
                      "type": "Identifier",
                      "name": "paths",
                      "range": [
                        1434,
                        1439
                      ],
                      "loc": {
                        "start": {
                          "line": 55,
                          "column": 2
                        },
                        "end": {
                          "line": 55,
                          "column": 7
                        }
                      }
                    },
                    "property": {
                      "type": "Identifier",
                      "name": "reduceRight",
                      "range": [
                        1440,
                        1451
                      ],
                      "loc": {
                        "start": {
                          "line": 55,
                          "column": 8
                        },
                        "end": {
                          "line": 55,
                          "column": 19
                        }
                      }
                    },
                    "range": [
                      1434,
                      1451
                    ],
                    "loc": {
                      "start": {
                        "line": 55,
                        "column": 2
                      },
                      "end": {
                        "line": 55,
                        "column": 19
                      }
                    }
                  },
                  "arguments": [
                    {
                      "type": "ArrowFunctionExpression",
                      "id": null,
                      "params": [
                        {
                          "type": "Identifier",
                          "name": "next",
                          "range": [
                            1453,
                            1457
                          ],
                          "loc": {
                            "start": {
                              "line": 55,
                              "column": 21
                            },
                            "end": {
                              "line": 55,
                              "column": 25
                            }
                          }
                        },
                        {
                          "type": "Identifier",
                          "name": "filePath",
                          "range": [
                            1459,
                            1467
                          ],
                          "loc": {
                            "start": {
                              "line": 55,
                              "column": 27
                            },
                            "end": {
                              "line": 55,
                              "column": 35
                            }
                          }
                        }
                      ],
                      "body": {
                        "type": "ArrowFunctionExpression",
                        "id": null,
                        "params": [],
                        "body": {
                          "type": "BlockStatement",
                          "body": [
                            {
                              "type": "ExpressionStatement",
                              "expression": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "fs",
                                    "range": [
                                      1484,
                                      1486
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 56,
                                        "column": 4
                                      },
                                      "end": {
                                        "line": 56,
                                        "column": 6
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "access",
                                    "range": [
                                      1487,
                                      1493
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 56,
                                        "column": 7
                                      },
                                      "end": {
                                        "line": 56,
                                        "column": 13
                                      }
                                    }
                                  },
                                  "range": [
                                    1484,
                                    1493
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 56,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 56,
                                      "column": 13
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "name": "filePath",
                                    "range": [
                                      1494,
                                      1502
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 56,
                                        "column": 14
                                      },
                                      "end": {
                                        "line": 56,
                                        "column": 22
                                      }
                                    }
                                  },
                                  {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "Identifier",
                                      "name": "opts",
                                      "range": [
                                        1504,
                                        1508
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 56,
                                          "column": 24
                                        },
                                        "end": {
                                          "line": 56,
                                          "column": 28
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "mode",
                                      "range": [
                                        1509,
                                        1513
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 56,
                                          "column": 29
                                        },
                                        "end": {
                                          "line": 56,
                                          "column": 33
                                        }
                                      }
                                    },
                                    "range": [
                                      1504,
                                      1513
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 56,
                                        "column": 24
                                      },
                                      "end": {
                                        "line": 56,
                                        "column": 33
                                      }
                                    }
                                  },
                                  {
                                    "type": "ArrowFunctionExpression",
                                    "id": null,
                                    "params": [
                                      {
                                        "type": "Identifier",
                                        "name": "error",
                                        "range": [
                                          1516,
                                          1521
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 56,
                                            "column": 36
                                          },
                                          "end": {
                                            "line": 56,
                                            "column": 41
                                          }
                                        }
                                      }
                                    ],
                                    "body": {
                                      "type": "BlockStatement",
                                      "body": [
                                        {
                                          "type": "IfStatement",
                                          "test": {
                                            "type": "Identifier",
                                            "name": "error",
                                            "range": [
                                              1538,
                                              1543
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 57,
                                                "column": 10
                                              },
                                              "end": {
                                                "line": 57,
                                                "column": 15
                                              }
                                            }
                                          },
                                          "consequent": {
                                            "type": "BlockStatement",
                                            "body": [
                                              {
                                                "type": "ReturnStatement",
                                                "argument": {
                                                  "type": "CallExpression",
                                                  "callee": {
                                                    "type": "Identifier",
                                                    "name": "next",
                                                    "range": [
                                                      1562,
                                                      1566
                                                    ],
                                                    "loc": {
                                                      "start": {
                                                        "line": 58,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 58,
                                                        "column": 19
                                                      }
                                                    }
                                                  },
                                                  "arguments": [],
                                                  "range": [
                                                    1562,
                                                    1568
                                                  ],
                                                  "loc": {
                                                    "start": {
                                                      "line": 58,
                                                      "column": 15
                                                    },
                                                    "end": {
                                                      "line": 58,
                                                      "column": 21
                                                    }
                                                  }
                                                },
                                                "range": [
                                                  1555,
                                                  1569
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 58,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 58,
                                                    "column": 22
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1545,
                                              1577
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 57,
                                                "column": 17
                                              },
                                              "end": {
                                                "line": 59,
                                                "column": 7
                                              }
                                            }
                                          },
                                          "alternate": null,
                                          "range": [
                                            1534,
                                            1577
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 57,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 59,
                                              "column": 7
                                            }
                                          }
                                        },
                                        {
                                          "type": "ReturnStatement",
                                          "argument": {
                                            "type": "CallExpression",
                                            "callee": {
                                              "type": "Identifier",
                                              "name": "callback",
                                              "range": [
                                                1592,
                                                1600
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 61,
                                                  "column": 13
                                                },
                                                "end": {
                                                  "line": 61,
                                                  "column": 21
                                                }
                                              }
                                            },
                                            "arguments": [
                                              {
                                                "type": "Literal",
                                                "value": null,
                                                "raw": "null",
                                                "range": [
                                                  1601,
                                                  1605
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 61,
                                                    "column": 22
                                                  },
                                                  "end": {
                                                    "line": 61,
                                                    "column": 26
                                                  }
                                                }
                                              },
                                              {
                                                "type": "Identifier",
                                                "name": "filePath",
                                                "range": [
                                                  1607,
                                                  1615
                                                ],
                                                "loc": {
                                                  "start": {
                                                    "line": 61,
                                                    "column": 28
                                                  },
                                                  "end": {
                                                    "line": 61,
                                                    "column": 36
                                                  }
                                                }
                                              }
                                            ],
                                            "range": [
                                              1592,
                                              1616
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 61,
                                                "column": 13
                                              },
                                              "end": {
                                                "line": 61,
                                                "column": 37
                                              }
                                            }
                                          },
                                          "range": [
                                            1585,
                                            1617
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 61,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 61,
                                              "column": 38
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1526,
                                        1623
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 56,
                                          "column": 46
                                        },
                                        "end": {
                                          "line": 62,
                                          "column": 5
                                        }
                                      }
                                    },
                                    "generator": false,
                                    "expression": false,
                                    "range": [
                                      1515,
                                      1623
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 56,
                                        "column": 35
                                      },
                                      "end": {
                                        "line": 62,
                                        "column": 5
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  1484,
                                  1624
                                ],
                                "loc": {
                                  "start": {
                                    "line": 56,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 62,
                                    "column": 6
                                  }
                                }
                              },
                              "range": [
                                1484,
                                1625
                              ],
                              "loc": {
                                "start": {
                                  "line": 56,
                                  "column": 4
                                },
                                "end": {
                                  "line": 62,
                                  "column": 7
                                }
                              }
                            }
                          ],
                          "range": [
                            1478,
                            1629
                          ],
                          "loc": {
                            "start": {
                              "line": 55,
                              "column": 46
                            },
                            "end": {
                              "line": 63,
                              "column": 3
                            }
                          }
                        },
                        "generator": false,
                        "expression": false,
                        "range": [
                          1472,
                          1629
                        ],
                        "loc": {
                          "start": {
                            "line": 55,
                            "column": 40
                          },
                          "end": {
                            "line": 63,
                            "column": 3
                          }
                        }
                      },
                      "generator": false,
                      "expression": true,
                      "range": [
                        1452,
                        1629
                      ],
                      "loc": {
                        "start": {
                          "line": 55,
                          "column": 20
                        },
                        "end": {
                          "line": 63,
                          "column": 3
                        }
                      }
                    },
                    {
                      "type": "ArrowFunctionExpression",
                      "id": null,
                      "params": [],
                      "body": {
                        "type": "BlockStatement",
                        "body": [
                          {
                            "type": "ExpressionStatement",
                            "expression": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "Identifier",
                                "name": "callback",
                                "range": [
                                  1643,
                                  1651
                                ],
                                "loc": {
                                  "start": {
                                    "line": 64,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 64,
                                    "column": 12
                                  }
                                }
                              },
                              "arguments": [
                                {
                                  "type": "CallExpression",
                                  "callee": {
                                    "type": "Identifier",
                                    "name": "Error",
                                    "range": [
                                      1652,
                                      1657
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 64,
                                        "column": 13
                                      },
                                      "end": {
                                        "line": 64,
                                        "column": 18
                                      }
                                    }
                                  },
                                  "arguments": [
                                    {
                                      "type": "TemplateLiteral",
                                      "quasis": [
                                        {
                                          "type": "TemplateElement",
                                          "value": {
                                            "raw": "ENOENT: no such paths, access '",
                                            "cooked": "ENOENT: no such paths, access '"
                                          },
                                          "tail": false,
                                          "range": [
                                            1658,
                                            1692
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 19
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 53
                                            }
                                          }
                                        },
                                        {
                                          "type": "TemplateElement",
                                          "value": {
                                            "raw": "'",
                                            "cooked": "'"
                                          },
                                          "tail": true,
                                          "range": [
                                            1710,
                                            1713
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 71
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 74
                                            }
                                          }
                                        }
                                      ],
                                      "expressions": [
                                        {
                                          "type": "CallExpression",
                                          "callee": {
                                            "type": "MemberExpression",
                                            "computed": false,
                                            "object": {
                                              "type": "Identifier",
                                              "name": "paths",
                                              "range": [
                                                1692,
                                                1697
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 53
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 58
                                                }
                                              }
                                            },
                                            "property": {
                                              "type": "Identifier",
                                              "name": "join",
                                              "range": [
                                                1698,
                                                1702
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 59
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 63
                                                }
                                              }
                                            },
                                            "range": [
                                              1692,
                                              1702
                                            ],
                                            "loc": {
                                              "start": {
                                                "line": 64,
                                                "column": 53
                                              },
                                              "end": {
                                                "line": 64,
                                                "column": 63
                                              }
                                            }
                                          },
                                          "arguments": [
                                            {
                                              "type": "Literal",
                                              "value": "', '",
                                              "raw": "\"', '\"",
                                              "range": [
                                                1703,
                                                1709
                                              ],
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 64
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 70
                                                }
                                              }
                                            }
                                          ],
                                          "range": [
                                            1692,
                                            1710
                                          ],
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 53
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 71
                                            }
                                          }
                                        }
                                      ],
                                      "range": [
                                        1658,
                                        1713
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 19
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 74
                                        }
                                      }
                                    }
                                  ],
                                  "range": [
                                    1652,
                                    1714
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 64,
                                      "column": 13
                                    },
                                    "end": {
                                      "line": 64,
                                      "column": 75
                                    }
                                  }
                                }
                              ],
                              "range": [
                                1643,
                                1715
                              ],
                              "loc": {
                                "start": {
                                  "line": 64,
                                  "column": 4
                                },
                                "end": {
                                  "line": 64,
                                  "column": 76
                                }
                              }
                            },
                            "range": [
                              1643,
                              1716
                            ],
                            "loc": {
                              "start": {
                                "line": 64,
                                "column": 4
                              },
                              "end": {
                                "line": 64,
                                "column": 77
                              }
                            }
                          }
                        ],
                        "range": [
                          1637,
                          1720
                        ],
                        "loc": {
                          "start": {
                            "line": 63,
                            "column": 11
                          },
                          "end": {
                            "line": 65,
                            "column": 3
                          }
                        }
                      },
                      "generator": false,
                      "expression": false,
                      "range": [
                        1631,
                        1720
                      ],
                      "loc": {
                        "start": {
                          "line": 63,
                          "column": 5
                        },
                        "end": {
                          "line": 65,
                          "column": 3
                        }
                      }
                    }
                  ],
                  "range": [
                    1434,
                    1721
                  ],
                  "loc": {
                    "start": {
                      "line": 55,
                      "column": 2
                    },
                    "end": {
                      "line": 65,
                      "column": 4
                    }
                  }
                },
                "arguments": [],
                "range": [
                  1434,
                  1723
                ],
                "loc": {
                  "start": {
                    "line": 55,
                    "column": 2
                  },
                  "end": {
                    "line": 65,
                    "column": 6
                  }
                }
              },
              "range": [
                1434,
                1724
              ],
              "loc": {
                "start": {
                  "line": 55,
                  "column": 2
                },
                "end": {
                  "line": 65,
                  "column": 7
                }
              }
            }
          ],
          "range": [
            1019,
            1726
          ],
          "loc": {
            "start": {
              "line": 41,
              "column": 40
            },
            "end": {
              "line": 66,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          986,
          1726
        ],
        "loc": {
          "start": {
            "line": 41,
            "column": 7
          },
          "end": {
            "line": 66,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n* lookup climbing recursively file like a `require`.\n*\n* @function lookup\n* @param {string} file - lookup file name\n* @param {object} [options] -\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @param {lookedupAbsolutePath} callback -\n",
            "range": [
              646,
              978
            ],
            "loc": {
              "start": {
                "line": 31,
                "column": 0
              },
              "end": {
                "line": 40,
                "column": 2
              }
            }
          }
        ],
        "trailingComments": [
          {
            "type": "Block",
            "value": "*\n* Synchronous version of lookup\n*\n* @function lookupSync\n* @param {string} file - lookup file name\n* @param {object} [options]\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @return {string} lookedupPath - a found absolute file path\n* @throws if no such paths\n",
            "range": [
              1728,
              2086
            ],
            "loc": {
              "start": {
                "line": 68,
                "column": 0
              },
              "end": {
                "line": 78,
                "column": 2
              }
            }
          }
        ]
      },
      "specifiers": [],
      "source": null,
      "range": [
        979,
        1726
      ],
      "loc": {
        "start": {
          "line": 41,
          "column": 0
        },
        "end": {
          "line": 66,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n* lookup climbing recursively file like a `require`.\n*\n* @function lookup\n* @param {string} file - lookup file name\n* @param {object} [options] -\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @param {lookedupAbsolutePath} callback -\n",
          "range": [
            646,
            978
          ],
          "loc": {
            "start": {
              "line": 31,
              "column": 0
            },
            "end": {
              "line": 40,
              "column": 2
            }
          }
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n* Synchronous version of lookup\n*\n* @function lookupSync\n* @param {string} file - lookup file name\n* @param {object} [options]\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @return {string} lookedupPath - a found absolute file path\n* @throws if no such paths\n",
          "range": [
            1728,
            2086
          ],
          "loc": {
            "start": {
              "line": 68,
              "column": 0
            },
            "end": {
              "line": 78,
              "column": 2
            }
          }
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "FunctionDeclaration",
        "id": {
          "type": "Identifier",
          "name": "lookupSync",
          "range": [
            2103,
            2113
          ],
          "loc": {
            "start": {
              "line": 79,
              "column": 16
            },
            "end": {
              "line": 79,
              "column": 26
            }
          }
        },
        "params": [
          {
            "type": "Identifier",
            "name": "file",
            "range": [
              2114,
              2118
            ],
            "loc": {
              "start": {
                "line": 79,
                "column": 27
              },
              "end": {
                "line": 79,
                "column": 31
              }
            }
          },
          {
            "type": "AssignmentPattern",
            "left": {
              "type": "Identifier",
              "name": "options",
              "range": [
                2120,
                2127
              ],
              "loc": {
                "start": {
                  "line": 79,
                  "column": 33
                },
                "end": {
                  "line": 79,
                  "column": 40
                }
              }
            },
            "right": {
              "type": "ObjectExpression",
              "properties": [],
              "range": [
                2130,
                2132
              ],
              "loc": {
                "start": {
                  "line": 79,
                  "column": 43
                },
                "end": {
                  "line": 79,
                  "column": 45
                }
              }
            },
            "range": [
              2120,
              2132
            ],
            "loc": {
              "start": {
                "line": 79,
                "column": 33
              },
              "end": {
                "line": 79,
                "column": 45
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "body": [
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "opts",
                    "range": [
                      2144,
                      2148
                    ],
                    "loc": {
                      "start": {
                        "line": 80,
                        "column": 8
                      },
                      "end": {
                        "line": 80,
                        "column": 12
                      }
                    }
                  },
                  "init": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "objectAssign",
                      "range": [
                        2151,
                        2163
                      ],
                      "loc": {
                        "start": {
                          "line": 80,
                          "column": 15
                        },
                        "end": {
                          "line": 80,
                          "column": 27
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "ObjectExpression",
                        "properties": [
                          {
                            "type": "Property",
                            "key": {
                              "type": "Identifier",
                              "name": "cwd",
                              "range": [
                                2170,
                                2173
                              ],
                              "loc": {
                                "start": {
                                  "line": 81,
                                  "column": 4
                                },
                                "end": {
                                  "line": 81,
                                  "column": 7
                                }
                              }
                            },
                            "value": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "process",
                                  "range": [
                                    2175,
                                    2182
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 81,
                                      "column": 9
                                    },
                                    "end": {
                                      "line": 81,
                                      "column": 16
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "cwd",
                                  "range": [
                                    2183,
                                    2186
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 81,
                                      "column": 17
                                    },
                                    "end": {
                                      "line": 81,
                                      "column": 20
                                    }
                                  }
                                },
                                "range": [
                                  2175,
                                  2186
                                ],
                                "loc": {
                                  "start": {
                                    "line": 81,
                                    "column": 9
                                  },
                                  "end": {
                                    "line": 81,
                                    "column": 20
                                  }
                                }
                              },
                              "arguments": [],
                              "range": [
                                2175,
                                2188
                              ],
                              "loc": {
                                "start": {
                                  "line": 81,
                                  "column": 9
                                },
                                "end": {
                                  "line": 81,
                                  "column": 22
                                }
                              }
                            },
                            "kind": "init",
                            "method": false,
                            "shorthand": false,
                            "computed": false,
                            "range": [
                              2170,
                              2188
                            ],
                            "loc": {
                              "start": {
                                "line": 81,
                                "column": 4
                              },
                              "end": {
                                "line": 81,
                                "column": 22
                              }
                            }
                          }
                        ],
                        "range": [
                          2164,
                          2193
                        ],
                        "loc": {
                          "start": {
                            "line": 80,
                            "column": 28
                          },
                          "end": {
                            "line": 82,
                            "column": 3
                          }
                        }
                      },
                      {
                        "type": "Identifier",
                        "name": "options",
                        "range": [
                          2195,
                          2202
                        ],
                        "loc": {
                          "start": {
                            "line": 82,
                            "column": 5
                          },
                          "end": {
                            "line": 82,
                            "column": 12
                          }
                        }
                      }
                    ],
                    "range": [
                      2151,
                      2203
                    ],
                    "loc": {
                      "start": {
                        "line": 80,
                        "column": 15
                      },
                      "end": {
                        "line": 82,
                        "column": 13
                      }
                    }
                  },
                  "range": [
                    2144,
                    2203
                  ],
                  "loc": {
                    "start": {
                      "line": 80,
                      "column": 8
                    },
                    "end": {
                      "line": 82,
                      "column": 13
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                2138,
                2204
              ],
              "loc": {
                "start": {
                  "line": 80,
                  "column": 2
                },
                "end": {
                  "line": 82,
                  "column": 14
                }
              }
            },
            {
              "type": "VariableDeclaration",
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "id": {
                    "type": "Identifier",
                    "name": "paths",
                    "range": [
                      2214,
                      2219
                    ],
                    "loc": {
                      "start": {
                        "line": 84,
                        "column": 8
                      },
                      "end": {
                        "line": 84,
                        "column": 13
                      }
                    }
                  },
                  "init": {
                    "type": "CallExpression",
                    "callee": {
                      "type": "Identifier",
                      "name": "getPaths",
                      "range": [
                        2222,
                        2230
                      ],
                      "loc": {
                        "start": {
                          "line": 84,
                          "column": 16
                        },
                        "end": {
                          "line": 84,
                          "column": 24
                        }
                      }
                    },
                    "arguments": [
                      {
                        "type": "CallExpression",
                        "callee": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "path",
                            "range": [
                              2231,
                              2235
                            ],
                            "loc": {
                              "start": {
                                "line": 84,
                                "column": 25
                              },
                              "end": {
                                "line": 84,
                                "column": 29
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "resolve",
                            "range": [
                              2236,
                              2243
                            ],
                            "loc": {
                              "start": {
                                "line": 84,
                                "column": 30
                              },
                              "end": {
                                "line": 84,
                                "column": 37
                              }
                            }
                          },
                          "range": [
                            2231,
                            2243
                          ],
                          "loc": {
                            "start": {
                              "line": 84,
                              "column": 25
                            },
                            "end": {
                              "line": 84,
                              "column": 37
                            }
                          }
                        },
                        "arguments": [
                          {
                            "type": "MemberExpression",
                            "computed": false,
                            "object": {
                              "type": "Identifier",
                              "name": "opts",
                              "range": [
                                2244,
                                2248
                              ],
                              "loc": {
                                "start": {
                                  "line": 84,
                                  "column": 38
                                },
                                "end": {
                                  "line": 84,
                                  "column": 42
                                }
                              }
                            },
                            "property": {
                              "type": "Identifier",
                              "name": "cwd",
                              "range": [
                                2249,
                                2252
                              ],
                              "loc": {
                                "start": {
                                  "line": 84,
                                  "column": 43
                                },
                                "end": {
                                  "line": 84,
                                  "column": 46
                                }
                              }
                            },
                            "range": [
                              2244,
                              2252
                            ],
                            "loc": {
                              "start": {
                                "line": 84,
                                "column": 38
                              },
                              "end": {
                                "line": 84,
                                "column": 46
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "file",
                            "range": [
                              2254,
                              2258
                            ],
                            "loc": {
                              "start": {
                                "line": 84,
                                "column": 48
                              },
                              "end": {
                                "line": 84,
                                "column": 52
                              }
                            }
                          }
                        ],
                        "range": [
                          2231,
                          2259
                        ],
                        "loc": {
                          "start": {
                            "line": 84,
                            "column": 25
                          },
                          "end": {
                            "line": 84,
                            "column": 53
                          }
                        }
                      }
                    ],
                    "range": [
                      2222,
                      2260
                    ],
                    "loc": {
                      "start": {
                        "line": 84,
                        "column": 16
                      },
                      "end": {
                        "line": 84,
                        "column": 54
                      }
                    }
                  },
                  "range": [
                    2214,
                    2260
                  ],
                  "loc": {
                    "start": {
                      "line": 84,
                      "column": 8
                    },
                    "end": {
                      "line": 84,
                      "column": 54
                    }
                  }
                }
              ],
              "kind": "const",
              "range": [
                2208,
                2261
              ],
              "loc": {
                "start": {
                  "line": 84,
                  "column": 2
                },
                "end": {
                  "line": 84,
                  "column": 55
                }
              }
            },
            {
              "type": "ForStatement",
              "init": {
                "type": "VariableDeclaration",
                "declarations": [
                  {
                    "type": "VariableDeclarator",
                    "id": {
                      "type": "Identifier",
                      "name": "i",
                      "range": [
                        2273,
                        2274
                      ],
                      "loc": {
                        "start": {
                          "line": 85,
                          "column": 11
                        },
                        "end": {
                          "line": 85,
                          "column": 12
                        }
                      }
                    },
                    "init": {
                      "type": "Literal",
                      "value": 0,
                      "raw": "0",
                      "range": [
                        2277,
                        2278
                      ],
                      "loc": {
                        "start": {
                          "line": 85,
                          "column": 15
                        },
                        "end": {
                          "line": 85,
                          "column": 16
                        }
                      }
                    },
                    "range": [
                      2273,
                      2278
                    ],
                    "loc": {
                      "start": {
                        "line": 85,
                        "column": 11
                      },
                      "end": {
                        "line": 85,
                        "column": 16
                      }
                    }
                  }
                ],
                "kind": "let",
                "range": [
                  2269,
                  2278
                ],
                "loc": {
                  "start": {
                    "line": 85,
                    "column": 7
                  },
                  "end": {
                    "line": 85,
                    "column": 16
                  }
                }
              },
              "test": {
                "type": "BinaryExpression",
                "operator": "<",
                "left": {
                  "type": "Identifier",
                  "name": "i",
                  "range": [
                    2280,
                    2281
                  ],
                  "loc": {
                    "start": {
                      "line": 85,
                      "column": 18
                    },
                    "end": {
                      "line": 85,
                      "column": 19
                    }
                  }
                },
                "right": {
                  "type": "MemberExpression",
                  "computed": false,
                  "object": {
                    "type": "Identifier",
                    "name": "paths",
                    "range": [
                      2284,
                      2289
                    ],
                    "loc": {
                      "start": {
                        "line": 85,
                        "column": 22
                      },
                      "end": {
                        "line": 85,
                        "column": 27
                      }
                    }
                  },
                  "property": {
                    "type": "Identifier",
                    "name": "length",
                    "range": [
                      2290,
                      2296
                    ],
                    "loc": {
                      "start": {
                        "line": 85,
                        "column": 28
                      },
                      "end": {
                        "line": 85,
                        "column": 34
                      }
                    }
                  },
                  "range": [
                    2284,
                    2296
                  ],
                  "loc": {
                    "start": {
                      "line": 85,
                      "column": 22
                    },
                    "end": {
                      "line": 85,
                      "column": 34
                    }
                  }
                },
                "range": [
                  2280,
                  2296
                ],
                "loc": {
                  "start": {
                    "line": 85,
                    "column": 18
                  },
                  "end": {
                    "line": 85,
                    "column": 34
                  }
                }
              },
              "update": {
                "type": "UpdateExpression",
                "operator": "++",
                "argument": {
                  "type": "Identifier",
                  "name": "i",
                  "range": [
                    2298,
                    2299
                  ],
                  "loc": {
                    "start": {
                      "line": 85,
                      "column": 36
                    },
                    "end": {
                      "line": 85,
                      "column": 37
                    }
                  }
                },
                "prefix": false,
                "range": [
                  2298,
                  2301
                ],
                "loc": {
                  "start": {
                    "line": 85,
                    "column": 36
                  },
                  "end": {
                    "line": 85,
                    "column": 39
                  }
                }
              },
              "body": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "TryStatement",
                    "block": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "CallExpression",
                            "callee": {
                              "type": "MemberExpression",
                              "computed": false,
                              "object": {
                                "type": "Identifier",
                                "name": "fs",
                                "range": [
                                  2321,
                                  2323
                                ],
                                "loc": {
                                  "start": {
                                    "line": 87,
                                    "column": 6
                                  },
                                  "end": {
                                    "line": 87,
                                    "column": 8
                                  }
                                }
                              },
                              "property": {
                                "type": "Identifier",
                                "name": "accessSync",
                                "range": [
                                  2324,
                                  2334
                                ],
                                "loc": {
                                  "start": {
                                    "line": 87,
                                    "column": 9
                                  },
                                  "end": {
                                    "line": 87,
                                    "column": 19
                                  }
                                }
                              },
                              "range": [
                                2321,
                                2334
                              ],
                              "loc": {
                                "start": {
                                  "line": 87,
                                  "column": 6
                                },
                                "end": {
                                  "line": 87,
                                  "column": 19
                                }
                              }
                            },
                            "arguments": [
                              {
                                "type": "MemberExpression",
                                "computed": true,
                                "object": {
                                  "type": "Identifier",
                                  "name": "paths",
                                  "range": [
                                    2335,
                                    2340
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 87,
                                      "column": 20
                                    },
                                    "end": {
                                      "line": 87,
                                      "column": 25
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "i",
                                  "range": [
                                    2341,
                                    2342
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 87,
                                      "column": 26
                                    },
                                    "end": {
                                      "line": 87,
                                      "column": 27
                                    }
                                  }
                                },
                                "range": [
                                  2335,
                                  2343
                                ],
                                "loc": {
                                  "start": {
                                    "line": 87,
                                    "column": 20
                                  },
                                  "end": {
                                    "line": 87,
                                    "column": 28
                                  }
                                }
                              },
                              {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "opts",
                                  "range": [
                                    2345,
                                    2349
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 87,
                                      "column": 30
                                    },
                                    "end": {
                                      "line": 87,
                                      "column": 34
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "mode",
                                  "range": [
                                    2350,
                                    2354
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 87,
                                      "column": 35
                                    },
                                    "end": {
                                      "line": 87,
                                      "column": 39
                                    }
                                  }
                                },
                                "range": [
                                  2345,
                                  2354
                                ],
                                "loc": {
                                  "start": {
                                    "line": 87,
                                    "column": 30
                                  },
                                  "end": {
                                    "line": 87,
                                    "column": 39
                                  }
                                }
                              }
                            ],
                            "range": [
                              2321,
                              2355
                            ],
                            "loc": {
                              "start": {
                                "line": 87,
                                "column": 6
                              },
                              "end": {
                                "line": 87,
                                "column": 40
                              }
                            }
                          },
                          "range": [
                            2321,
                            2356
                          ],
                          "loc": {
                            "start": {
                              "line": 87,
                              "column": 6
                            },
                            "end": {
                              "line": 87,
                              "column": 41
                            }
                          }
                        },
                        {
                          "type": "ReturnStatement",
                          "argument": {
                            "type": "MemberExpression",
                            "computed": true,
                            "object": {
                              "type": "Identifier",
                              "name": "paths",
                              "range": [
                                2370,
                                2375
                              ],
                              "loc": {
                                "start": {
                                  "line": 88,
                                  "column": 13
                                },
                                "end": {
                                  "line": 88,
                                  "column": 18
                                }
                              }
                            },
                            "property": {
                              "type": "Identifier",
                              "name": "i",
                              "range": [
                                2376,
                                2377
                              ],
                              "loc": {
                                "start": {
                                  "line": 88,
                                  "column": 19
                                },
                                "end": {
                                  "line": 88,
                                  "column": 20
                                }
                              }
                            },
                            "range": [
                              2370,
                              2378
                            ],
                            "loc": {
                              "start": {
                                "line": 88,
                                "column": 13
                              },
                              "end": {
                                "line": 88,
                                "column": 21
                              }
                            }
                          },
                          "range": [
                            2363,
                            2379
                          ],
                          "loc": {
                            "start": {
                              "line": 88,
                              "column": 6
                            },
                            "end": {
                              "line": 88,
                              "column": 22
                            }
                          }
                        }
                      ],
                      "range": [
                        2313,
                        2385
                      ],
                      "loc": {
                        "start": {
                          "line": 86,
                          "column": 8
                        },
                        "end": {
                          "line": 89,
                          "column": 5
                        }
                      }
                    },
                    "handler": {
                      "type": "CatchClause",
                      "param": {
                        "type": "Identifier",
                        "name": "error",
                        "range": [
                          2393,
                          2398
                        ],
                        "loc": {
                          "start": {
                            "line": 89,
                            "column": 13
                          },
                          "end": {
                            "line": 89,
                            "column": 18
                          }
                        }
                      },
                      "body": {
                        "type": "BlockStatement",
                        "body": [],
                        "range": [
                          2400,
                          2423
                        ],
                        "loc": {
                          "start": {
                            "line": 89,
                            "column": 20
                          },
                          "end": {
                            "line": 91,
                            "column": 5
                          }
                        },
                        "trailingComments": [
                          {
                            "type": "Line",
                            "value": " ignore",
                            "range": [
                              2408,
                              2417
                            ],
                            "loc": {
                              "start": {
                                "line": 90,
                                "column": 6
                              },
                              "end": {
                                "line": 90,
                                "column": 15
                              }
                            }
                          }
                        ]
                      },
                      "range": [
                        2386,
                        2423
                      ],
                      "loc": {
                        "start": {
                          "line": 89,
                          "column": 6
                        },
                        "end": {
                          "line": 91,
                          "column": 5
                        }
                      }
                    },
                    "finalizer": null,
                    "range": [
                      2309,
                      2423
                    ],
                    "loc": {
                      "start": {
                        "line": 86,
                        "column": 4
                      },
                      "end": {
                        "line": 91,
                        "column": 5
                      }
                    }
                  }
                ],
                "range": [
                  2303,
                  2427
                ],
                "loc": {
                  "start": {
                    "line": 85,
                    "column": 41
                  },
                  "end": {
                    "line": 92,
                    "column": 3
                  }
                }
              },
              "range": [
                2264,
                2427
              ],
              "loc": {
                "start": {
                  "line": 85,
                  "column": 2
                },
                "end": {
                  "line": 92,
                  "column": 3
                }
              }
            },
            {
              "type": "ThrowStatement",
              "argument": {
                "type": "NewExpression",
                "callee": {
                  "type": "Identifier",
                  "name": "Error",
                  "range": [
                    2441,
                    2446
                  ],
                  "loc": {
                    "start": {
                      "line": 94,
                      "column": 12
                    },
                    "end": {
                      "line": 94,
                      "column": 17
                    }
                  }
                },
                "arguments": [
                  {
                    "type": "TemplateLiteral",
                    "quasis": [
                      {
                        "type": "TemplateElement",
                        "value": {
                          "raw": "ENOENT: no such paths, access '",
                          "cooked": "ENOENT: no such paths, access '"
                        },
                        "tail": false,
                        "range": [
                          2447,
                          2481
                        ],
                        "loc": {
                          "start": {
                            "line": 94,
                            "column": 18
                          },
                          "end": {
                            "line": 94,
                            "column": 52
                          }
                        }
                      },
                      {
                        "type": "TemplateElement",
                        "value": {
                          "raw": "'",
                          "cooked": "'"
                        },
                        "tail": true,
                        "range": [
                          2499,
                          2502
                        ],
                        "loc": {
                          "start": {
                            "line": 94,
                            "column": 70
                          },
                          "end": {
                            "line": 94,
                            "column": 73
                          }
                        }
                      }
                    ],
                    "expressions": [
                      {
                        "type": "CallExpression",
                        "callee": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "paths",
                            "range": [
                              2481,
                              2486
                            ],
                            "loc": {
                              "start": {
                                "line": 94,
                                "column": 52
                              },
                              "end": {
                                "line": 94,
                                "column": 57
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "join",
                            "range": [
                              2487,
                              2491
                            ],
                            "loc": {
                              "start": {
                                "line": 94,
                                "column": 58
                              },
                              "end": {
                                "line": 94,
                                "column": 62
                              }
                            }
                          },
                          "range": [
                            2481,
                            2491
                          ],
                          "loc": {
                            "start": {
                              "line": 94,
                              "column": 52
                            },
                            "end": {
                              "line": 94,
                              "column": 62
                            }
                          }
                        },
                        "arguments": [
                          {
                            "type": "Literal",
                            "value": "', '",
                            "raw": "\"', '\"",
                            "range": [
                              2492,
                              2498
                            ],
                            "loc": {
                              "start": {
                                "line": 94,
                                "column": 63
                              },
                              "end": {
                                "line": 94,
                                "column": 69
                              }
                            }
                          }
                        ],
                        "range": [
                          2481,
                          2499
                        ],
                        "loc": {
                          "start": {
                            "line": 94,
                            "column": 52
                          },
                          "end": {
                            "line": 94,
                            "column": 70
                          }
                        }
                      }
                    ],
                    "range": [
                      2447,
                      2502
                    ],
                    "loc": {
                      "start": {
                        "line": 94,
                        "column": 18
                      },
                      "end": {
                        "line": 94,
                        "column": 73
                      }
                    }
                  }
                ],
                "range": [
                  2437,
                  2503
                ],
                "loc": {
                  "start": {
                    "line": 94,
                    "column": 8
                  },
                  "end": {
                    "line": 94,
                    "column": 74
                  }
                }
              },
              "range": [
                2431,
                2504
              ],
              "loc": {
                "start": {
                  "line": 94,
                  "column": 2
                },
                "end": {
                  "line": 94,
                  "column": 75
                }
              },
              "leadingComments": [
                {
                  "type": "Line",
                  "value": " ignore",
                  "range": [
                    2408,
                    2417
                  ],
                  "loc": {
                    "start": {
                      "line": 90,
                      "column": 6
                    },
                    "end": {
                      "line": 90,
                      "column": 15
                    }
                  }
                }
              ]
            }
          ],
          "range": [
            2134,
            2506
          ],
          "loc": {
            "start": {
              "line": 79,
              "column": 47
            },
            "end": {
              "line": 95,
              "column": 1
            }
          }
        },
        "generator": false,
        "expression": false,
        "range": [
          2094,
          2506
        ],
        "loc": {
          "start": {
            "line": 79,
            "column": 7
          },
          "end": {
            "line": 95,
            "column": 1
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n* Synchronous version of lookup\n*\n* @function lookupSync\n* @param {string} file - lookup file name\n* @param {object} [options]\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @return {string} lookedupPath - a found absolute file path\n* @throws if no such paths\n",
            "range": [
              1728,
              2086
            ],
            "loc": {
              "start": {
                "line": 68,
                "column": 0
              },
              "end": {
                "line": 78,
                "column": 2
              }
            }
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "range": [
        2087,
        2506
      ],
      "loc": {
        "start": {
          "line": 79,
          "column": 0
        },
        "end": {
          "line": 95,
          "column": 1
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n* Synchronous version of lookup\n*\n* @function lookupSync\n* @param {string} file - lookup file name\n* @param {object} [options]\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @return {string} lookedupPath - a found absolute file path\n* @throws if no such paths\n",
          "range": [
            1728,
            2086
          ],
          "loc": {
            "start": {
              "line": 68,
              "column": 0
            },
            "end": {
              "line": 78,
              "column": 2
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    33,
    2506
  ],
  "loc": {
    "start": {
      "line": 5,
      "column": 0
    },
    "end": {
      "line": 95,
      "column": 1
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * @module climb-lookup\n ",
      "range": [
        0,
        31
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 3
        }
      }
    },
    {
      "type": "Block",
      "value": "*\n* Get recursively climbing paths.\n*\n* @function getPaths\n* @param {string} filePath - base path\n* @return {array} paths - an abosolute file paths from filePath to root\n",
      "range": [
        122,
        296
      ],
      "loc": {
        "start": {
          "line": 9,
          "column": 0
        },
        "end": {
          "line": 15,
          "column": 2
        }
      }
    },
    {
      "type": "Line",
      "value": " unless `/${file}`",
      "range": [
        485,
        505
      ],
      "loc": {
        "start": {
          "line": 21,
          "column": 46
        },
        "end": {
          "line": 21,
          "column": 66
        }
      }
    },
    {
      "type": "Block",
      "value": "*\n* lookup climbing recursively file like a `require`.\n*\n* @function lookup\n* @param {string} file - lookup file name\n* @param {object} [options] -\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @param {lookedupAbsolutePath} callback -\n",
      "range": [
        646,
        978
      ],
      "loc": {
        "start": {
          "line": 31,
          "column": 0
        },
        "end": {
          "line": 40,
          "column": 2
        }
      }
    },
    {
      "type": "Block",
      "value": "*\n   * Callback for looked up absolute file path.\n   *\n   * @callback lookedupAbsolutePath\n   * @param {error} error - no paths found\n   * @param {string} lookedupPath - a found absolute file path\n   ",
      "range": [
        1171,
        1375
      ],
      "loc": {
        "start": {
          "line": 47,
          "column": 2
        },
        "end": {
          "line": 53,
          "column": 5
        }
      }
    },
    {
      "type": "Block",
      "value": "*\n* Synchronous version of lookup\n*\n* @function lookupSync\n* @param {string} file - lookup file name\n* @param {object} [options]\n* @param {object} [options.cwd=process.cwd()] - begin path\n* @param {object} [options.mode=null] - pass to fs.accessSync as 2nd argument\n* @return {string} lookedupPath - a found absolute file path\n* @throws if no such paths\n",
      "range": [
        1728,
        2086
      ],
      "loc": {
        "start": {
          "line": 68,
          "column": 0
        },
        "end": {
          "line": 78,
          "column": 2
        }
      }
    },
    {
      "type": "Line",
      "value": " ignore",
      "range": [
        2408,
        2417
      ],
      "loc": {
        "start": {
          "line": 90,
          "column": 6
        },
        "end": {
          "line": 90,
          "column": 15
        }
      }
    }
  ]
}