constfetchGhContent=require('fetch-github-content')fetchGhContent({owner: 'FujiHaruka',repo: 'fetch-github-content',path: 'package.json',token: 'xxx',// (Optional) Access tokenref: 'xxx',// (Optional) The name of the commit/branch/tagjson: true,// (Optional) if true, returns JSON.parse(content)}).then(console.log)