UNPKG

rigjs

Version:

A multi-repos dev tool based on yarn and git.Rigjs is intended to be the simplest way to develop,share and deliver codes between different developers or different projects.

5 lines (3 loc) 131 B
import path from 'path'; import url from 'url'; console.log(path.basename(url.parse('https://dafa.com/fafa.txt?a=1').pathname!));