Parse a tarball URL hosted on codeload.github.com
npm i -S parse-codeload-url
const parseCodeloadUrl = require('parse-codeload-url').default
const repo = parseCodeloadUrl('https://codeload.github.com/pnpm/parse-codeload-url/tar.gz/3492fd75b29a0b36e91332bce2fe4592418a0892')
console.log(repo)
//> { name: 'parse-codeload-url',
// owner: 'pnpm',
// commit: '3492fd75b29a0b36e91332bce2fe4592418a0892' }
MIT Β© Zoltan Kochan