See #146 , same thing in the opposite direction for the hub. It will harmonize both libs. We can also imagine `new HfHub(token?, options?).repo(...).listFiles()`