def repository_url(package_json):
    try:
        return package_json['repository']['url']
    except KeyError:
        return None
Get the URL of a package's repository
dataset/ETHPy150Open zsck/npm-to-git/n2g.py/repository_url